Difference between revisions of "User:Auryn Beorn/Linking Phantom And Non Phantom Prims"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
There are several scripts under the wiki aimed to help in linking phantom prims to non phantom one. However, those scripts require to exist within the prim (the good 'ole flexi trick... unstable upon region restarts and others). The following snippet, when used as detailed after, assures you that you don't need any script remaining in the prims... nor need to even know the UUID of the sculpt map, when the prim is sculpted:
There are several scripts under the wiki aimed to help in linking phantom prims to non phantom ones. However, those scripts require to exist within the prim (the good 'ole flexi trick... unstable upon region restarts and others -useful tho for other tricks-). The following snippet, when used as detailed after, assures you that you don't need any script remaining in the prims... nor need to even know the UUID of the sculpt map, when the prim is sculpted:


<lsl>
<lsl>

Revision as of 10:17, 16 February 2012

There are several scripts under the wiki aimed to help in linking phantom prims to non phantom ones. However, those scripts require to exist within the prim (the good 'ole flexi trick... unstable upon region restarts and others -useful tho for other tricks-). The following snippet, when used as detailed after, assures you that you don't need any script remaining in the prims... nor need to even know the UUID of the sculpt map, when the prim is sculpted:

<lsl> default {

   state_entry()
   {
       llVolumeDetect(TRUE);
       llRemoveInventory(llGetScriptName());
   }

} </lsl>

How to use this:

  • Edit the prim that you want to be phantom
  • Drop this script inside
  • The script sets the property and self deletes: Link this prim to a non phantom root

NOTE: After unlinking, drop the script again in the prim you want to be phantom.