llGetNumberOfPrims
LSLinteger llGetNumberOfPrims()
Returns 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.
Takes no parameters.
Energy
10
The Linden Scripting Library — what every SL-compatible grid provides.
More in LSL
vector llDetectedTouchUV(integer index)
void llSetScale(vector scale)
void llTeleportAgentGlobalCoords(string agent, vector global, vector pos, vector lookAt)
void llSetVehicleRotationParam(integer param, rotation rot)
vector llRot2Euler(rotation r)
void llParcelMediaCommandList(list commandList)
void llSetRot(rotation rot)
vector llWind(vector offset)