Make a hot spot disappear and reappear

Started by Willdon, Wed 21/04/2010 21:50:40

Previous topic - Next topic

Willdon

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!

Dualnames

To enable or disable a hotspot:

Code: ags

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



Manual Reference:
http://www.adventuregamestudio.co.uk/manual/Hotspot.Enabled.htm
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

Willdon

Thank you VERY much! Works like a charm!

=D

Khris

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.

Willdon

Ok, will do. I apologize for the inconvenience.

SMF spam blocked by CleanTalk