Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Sun 25/04/2004 17:52:04

Title: Hotspot problem!
Post by: on Sun 25/04/2004 17:52:04
How to you reactive a hotspot in another room, conditionally after talking to someone first?
Title: Re:Hotspot problem!
Post by: Proskrito on Sun 25/04/2004 21:23:31
if i understood correctly, you could make that this way:
when you talk to that one, you set a global variable to certain value, like 1.
then, in the 'Player enters screen before fadein' interaction of the room you want to activate the hotspot, you check the value of that variable, and if its not 1 (the player havent talked yet with that character), disable the hotspot, and if it is 1, enable it.
hope i made sense : )
Title: Re:Hotspot problem!
Post by: on Mon 26/04/2004 15:09:32
Thanks alot!