llGetNumberOfPrims
function ll.GetNumberOfPrims(): numberReturns the number of prims in a link set the script is attached to.
Returns the number of prims in (and avatars seated on) the object the script is in.
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.GetNumberOfPrims().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llGetNumberOfPrims