by PapaXpress » Sun Oct 28, 2012 4:23 pm
I wouldn't call it the end of the road yet.
*IF* what I said about the hose being a node is correct, then perhaps we can "turn it off" in the LUA. This is commonly done with turning on animations, and light. I am still short on time so I can't try this out, but perhaps Buzz can since he already located the node for the hose.
What would need to happen is to add this to the function Initialise () function:
Call("<Child Name>:ActivateNode", <Node Name>, value);
Example:
Call( "Strobe:ActivateNode", "LensFlash", gStrobe )
The 'Child Name' is the name of the child in the BIN file. Since this is not a child object we may have to use "*:ActivateNode", but I am not sure (Kali would know better).
The 'Node Name' is the node in the GEO. This was what Buzz removed in his experiment.
The 'value' in this case is true or false, 1 or 0. 0 will turn it off.
The next thing you need to do is make sure that the LUA does not call this node again to turn it back "on".