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

From Second Life Wiki
Jump to navigation Jump to search
Line 7: Line 7:
     {
     {
         llVolumeDetect(TRUE);
         llVolumeDetect(TRUE);
        llOwnerSay("All done - Ready to be linked to a non phantom root prim");
         llRemoveInventory(llGetScriptName());
         llRemoveInventory(llGetScriptName());
     }
     }
Line 14: Line 15:
How to use this:
How to use this:


* Edit the prim that you want to be phantom
* Edit the UNLINKED prim that you want to be phantom
* Drop this script inside
* Drop this script inside
* The script sets the property and self deletes: Link this prim to a non phantom root
* 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.
NOTE: After unlinking, drop the script again in the prim you want to be phantom.

Revision as of 15:01, 1 April 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);
       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.