Google
×
Did you mean: r Get Number Of Prims
Jan 22, 2015 · Returns the number of prims in the object, ignoring seated avatars integer getNumberOfPrims(){ if (llGetObjectPrimCount(llGetKey()) == 0 ) ... Examples · Useful Snippets
Aug 22, 2015 · llGetNumberOfPrims on the other hand does count avatars sitting on the object. ^ Whether the attachment exception is a bug or a feature is ... Summary · Examples
Aug 25, 2018 · default { state_entry() { llOwnerSay((string) llGetLinkNumber()); llOwnerSay(( string) llGetNumberOfPrims()); } }. A non-obvious feature is using ...
//Returns the number of agents on the object integer GetNumberOfAgents() {// ignores avatars. integer a = llGetNumberOfPrims(); integer b = a; if(1 < a) ...
Dec 31, 2017 · Function: integer llGetNumberOfPrims( );. Returns an integer that is the number of prims in a link set the script is attached to. Caveats
You can use llGetNumberOfPrims to find out how many prims there are in the object (if you don't know that already) and then use llGetLinkName on each of ...
llSetText( "llGetNumberOfPrims test\nTouch to find number of prims in link set." , < 1, 1, 1>, 1);. } touch_start(integer i). {. llSay(0, "Number of prims in linked set: " + ...
Feb 5, 2008 · getLinks() { integer i; // How many prims are linked? integer linkcount = llGetNumberOfPrims(); // Reset our link target number, just to be // safe.
integer i = 0;. for(; i <= llGetNumberOfPrims(); i++) {. list desc = llGetLinkPrimitiveParams(i, [PRIM_DESC]);. if(llList2String(desc, 0) == jacketDenom) {. jacket += i;. }.
The function llGetNumberOfPrims() tells you how many prims are in the object. Some ofthese functions were demonstrated in Listing 3.10. tabLe 4.1: FUnctions  ...