User:Auryn Beorn/Linking Phantom And Non Phantom Prims

From Second Life Wiki
< User:Auryn Beorn
Revision as of 04:34, 8 March 2014 by Auryn Beorn (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

IMPORTANT!!! Given the following: https://jira.secondlife.com/browse/PATHBUG-69? do not use the script explained anymore.

I'm leaving the text below for history reasons, but we don't need the following anymore. Currently, all we have to do is using correctly the Physics Type property of the linksets. Click here for a detailed explanation.


--- What follows is not valid anymore ---

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.