Difference between revisions of "Talk:Physics Optimization"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 22: Line 22:


Script doesn't compile correctly with llOwnerSay. [[User:Hyper Mole|Hyper Mole]] 06:44, 25 June 2012 (PDT)
Script doesn't compile correctly with llOwnerSay. [[User:Hyper Mole|Hyper Mole]] 06:44, 25 June 2012 (PDT)
You don't need the channel with llOwnerSay(), just the message: llOwnerSay( "Only my owner sees this" ); [[User:Sandry Logan|Sandry Logan]] 07:45, 25 June 2012 (PDT)

Revision as of 07:45, 25 June 2012

Spammy Example?

In the example <lsl> default {

   state_entry()
   {
       llShout(0, "Setting all child prims to PRIM_PHYSICS_SHAPE_NONE");
       llSetLinkPrimitiveParamsFast(LINK_ALL_CHILDREN, [PRIM_PHYSICS_SHAPE_TYPE, PRIM_PHYSICS_SHAPE_NONE]);
       llRemoveInventory(llGetScriptName());
   }

} </lsl> why use llShout and not llOwnerSay? I can't see why every avatar in 100 metres needs to know the child prims are being set to PRIM_PHYSICS_SHAPE_NONE. Innula Zenovka 11:35, 6 June 2012 (PDT)



Not sure, so I changed it.  :) Hyper Mole 18:31, 21 June 2012 (PDT)

Script doesn't compile correctly with llOwnerSay. Hyper Mole 06:44, 25 June 2012 (PDT)

You don't need the channel with llOwnerSay(), just the message: llOwnerSay( "Only my owner sees this" ); Sandry Logan 07:45, 25 June 2012 (PDT)