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

From Second Life Wiki
Jump to navigation Jump to search
Line 2: Line 2:
Given the following: https://jira.secondlife.com/browse/PATHBUG-69?
Given the following: https://jira.secondlife.com/browse/PATHBUG-69?
it would be advisable not to use this script for now.
it would be advisable not to use this script for now.
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. More on this, soon.
--- 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:
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:

Revision as of 22:26, 21 August 2012

IMPORTANT!!! Given the following: https://jira.secondlife.com/browse/PATHBUG-69? it would be advisable not to use this script for now.

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. More on this, soon.


--- 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.