Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Candle on Sun 30/01/2005 01:28:08

Title: Can I DisableHotspot(3); [SOLVED]
Post by: Candle on Sun 30/01/2005 01:28:08
Can I use DisableHotspot(3);
and have it disable a hotspot in some other room ?
Title: Re: Can I DisableHotspot(3);
Post by: TerranRich on Sun 30/01/2005 03:31:10
No. I thought this was clear. You cannot alter things in another room without using variables and checking that variable when that room loads. For example, set that particular room's hostpot #3 state in a global int. Then, when that particular room loads, check the value of that global int and set the hotspot accordingly.