Phantom Enigma
Registered User
Join date: 18 Nov 2005
Posts: 25
|
11-27-2005 08:45
Hi,
How do you reference a prim in a script that is in another prim.
I am trying to make a 'lid' raise up,but the script as it to open needs to be in the bottom of the object, you click on bottom and depending on the options selected, the lid will raise up
Think of it like a clamshell
Also Im not sure I will be able to link all the prims together, so they may be all the same object, just not linkedl (is that possible?)
Thanks,
PhE
|
Padraig Stygian
The thin mick
Join date: 15 Aug 2004
Posts: 111
|
11-27-2005 09:04
It probably involves a whole lot of llListen. You'll want to set up the listen so that the lid listens only to the base. llListen(78766, "base_name", "NULL_KEY", "message_for_opening"  ; But, really, if you're talking about an opening box, you want to link the parts and use link messages.
|