OsGetSittingAvatarsCount

From OpenSimulator

Revision as of 15:08, 14 June 2023 by Ubit (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
integer osGetPrimCount()

integer osGetPrimCount(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) osGetPrimCount() + " sitting avatars");
    }
}
Notes
This function was added in 0.9.3.0


Personal tools
General
About This Wiki