UnlinkOnContained

When the object is contained, delete all links from another object. The source(s) of the links is determined from a ScriptParams link with data Unlink.

Use this script when also using ObjFrobInert or one of its related scripts. This script goes on the object that will be picked up. The Unlink link goes from here to the object that controls the FrobInert metaproperty. When picked up, the connection between the door and the object is removed so closing the door doesn’t inactivate the object any more.

Messages Contained
Links ScriptParams(Unlink)

Discussion

LarryG, 2009/10/23 18:24
The statement "The source(s) of the links is determined from a ScriptParams link with data Unlink." does not appear to be correct. That is, I have not been able to get it to work with that data and a ScriptParams link. However, the data FrobInert does seem to get this script to work, independent of the use of a ObjFrobInert related script.
LarryG, 2009/10/23 18:29
Scratch the above. I was interpreting this incorrectly. The ScriptParams link with the data Unlink needs to go from the object to the sources to be removed. It appears that this if the data FrobInert is on a ScriptParams link to the object, then the ScriptParams link back to the source is not needed for this script to work.



Enter your comment:
If you can't read the letters on the image, download this .wav file to get them read to you.

 
  tnhscript/unlinkoncontained.txt · Last modified: 2009/03/26 17:11 by telliamed
 
Recent changes RSS feed Creative Commons License Tip Bucket Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki