Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Fri 30/01/2004 00:29:15

Title: Enabling/disabling objects in different rooms
Post by: on Fri 30/01/2004 00:29:15
Is there a way to enable and disable objects or hospots from different rooms? For example, say I'm in Room 4 but I want to enable an object or hotspot in Room 2 while I'm in Room 4. Can I do this? Thanks.
Title: Re:Enabling/disabling objects in different rooms
Post by: James Kay on Fri 30/01/2004 00:33:52
I know little of scripting but I'd use a GlobalInt for that. Then on loading the other room, before fadein it'd check the GlobalInt and switch on/off the object/hotspot accordingly.
So the answer is yes.  ;D