Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Willdon on Wed 21/04/2010 21:50:40

Title: Make a hot spot disappear and reappear
Post by: Willdon on Wed 21/04/2010 21:50:40
I want a hotspot to trigger a movie repeatedly using the OGG plugin, BUT I dont want it to be clickable during the movie.

So, basically, I want to know how write a script that is outlined like the following

HOTSPOT

player clicks HOTSPOT

HOTSPOT dissapears

MOVIE plays

MOVIE Finishes

HOTSPOT reapears.

Anybody? I'm lost. haha

Thanks!
Title: Re: Make a hot spot disappear and reappear
Post by: Dualnames on Wed 21/04/2010 22:07:54
To enable or disable a hotspot:


hotspot[id number goes here].Enabled=true or false



Manual Reference:
http://www.adventuregamestudio.co.uk/manual/Hotspot.Enabled.htm
Title: Re: Make a hot spot disappear and reappear
Post by: Willdon on Wed 21/04/2010 23:24:58
Thank you VERY much! Works like a charm!

=D
Title: Re: Make a hot spot disappear and reappear
Post by: Khris on Wed 21/04/2010 23:52:39
Alright Willdon, PLEASE read the manual cover to cover at least once before opening another thread.
The stuff you're asking was mostly really basic and is easily answered directly in the manual or by using the forum search.
Title: Re: Make a hot spot disappear and reappear
Post by: Willdon on Thu 22/04/2010 00:13:59
Ok, will do. I apologize for the inconvenience.