User:Auryn Beorn/Linking Phantom And Non Phantom Prims

From Second Life Wiki
Jump to navigation Jump to search

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);
       llOwnerSay("All done - Ready to be linked to a non phantom root prim");
       llRemoveInventory(llGetScriptName());
   }

} </lsl>

How to use this:

  • Edit the UNLINKED 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.