Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Ghostlady on Tue 26/04/2005 23:09:58

Title: How to turn an object off again
Post by: Ghostlady on Tue 26/04/2005 23:09:58
I am creating a puzzle in which I am using an object that is initially turned off.  When interacting with the hotspot that the object is on, the object gets turned on.  This is done with an option in the drop down box within the interact function.  How can I turn the object back off.  Turning off is not an option.
Title: Re: How to turn an object off again
Post by: Ashen on Tue 26/04/2005 23:19:24
In the Interaction Editor: Object - Remove an object from the room, about 3 above Object - Switch an object back on. Or, using scripting ObjectOff (obj);.
Title: Re: How to turn an object off again
Post by: Ghostlady on Wed 27/04/2005 04:30:39
Thanks Ashen,

For some reason "remove an object from the room" didn't click for me to mean the same as "turn object off". It worked though. :)