OsGetSittingAvatarsCount
From OpenSimulator
(Difference between revisions)
(Created page with "{{osslfunc |threat_level=ignore |permissions=true |delay=0|function_syntax=integer osGetPrimCount()<br> integer osGetPrimCount(key objectID)<br> |ossl_example=<source lang="ls...") |
|||
Line 2: | Line 2: | ||
|threat_level=ignore | |threat_level=ignore | ||
|permissions=true | |permissions=true | ||
− | |delay=0|function_syntax=integer | + | |delay=0|function_syntax=integer osGetSittingAvatarsCount()<br> |
− | integer | + | integer osGetSittingAvatarsCount(key objectID)<br> |
|ossl_example=<source lang="lsl"> | |ossl_example=<source lang="lsl"> | ||
Line 14: | Line 14: | ||
touch_start(integer num) | touch_start(integer num) | ||
{ | { | ||
− | llOwnerSay(" this linkset has " + (string) | + | llOwnerSay(" this linkset has " + (string) osGetSittingAvatarsCount() + " sitting avatars"); |
} | } | ||
} | } |
Revision as of 14:09, 14 June 2023
integer osGetSittingAvatarsCount()
integer osGetSittingAvatarsCount(key objectID) | |
returns the number of sitting avatars on the current linkset or on the linkset that includes a prim with UUID objectID. | |
Threat Level | ignore is unknown threat level |
Permissions | Use of this function is always allowed by default |
Extra Delay | 0 seconds |
Example(s) | |
default { state_entry() { llSay(0, "Script running"); } touch_start(integer num) { llOwnerSay(" this linkset has " + (string) osGetSittingAvatarsCount() + " sitting avatars"); } } | |
Notes | |
This function was added in 0.9.3.0 |