OsGetPrimCount

From OpenSimulator
Revision as of 22:01, 14 June 2023 by imported>Ubit
Jump to navigationJump to search
integer osGetPrimCount()

integer osGetPrimCount(key objectID)

===== Arguments: =====
  • objectID optional key a prim
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() + " prims");
    }
}
Notes
This function was added in 0.9.3.0