Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: KristjanMan on Sun 09/04/2006 20:59:13

Title: Object(SOLVED)
Post by: KristjanMan on Sun 09/04/2006 20:59:13
Hey it's me again I'm using AGS 2.7 and i wonder is there way to turn off an object what isn't in the same room?
For example i click on hotspot in one room and then a object is turned off in a different room
Title: Re: Object
Post by: Ashen on Sun 09/04/2006 21:12:57
Not directly, you'll need to set a variable when you click the hotspot, then check it and turn the object off when you enter the other room ('Player enters room - before fadein'). If you're going to be doing this a lot, you could try the OtherRoom module (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=20650.0) but it's probably not worth it for just one object.

Try searching a little harder next time - I know this has been answered at least once before.
Title: Re: Object
Post by: KristjanMan on Sun 09/04/2006 21:16:09
Thank Ashen ! I'll try to searh harder next time...