OsGetSittingAvatarsCount: Difference between revisions
From OpenSimulator
Jump to navigationJump to search
imported>Ubit No edit summary |
imported>Ubit No edit summary |
||
| Line 1: | Line 1: | ||
{{osslfunc | {{osslfunc | ||
|threat_level= | |threat_level=ignored | ||
|permissions=true | |permissions=true | ||
|delay=0|function_syntax=integer osGetSittingAvatarsCount()<br> | |delay=0|function_syntax=integer osGetSittingAvatarsCount()<br> | ||
Revision as of 23:26, 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 | This function does not do a threat level check |
| 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 | |