Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Dusty D. on Wed 14/04/2004 23:35:04

Title: New problem: "after fade in"
Post by: Dusty D. on Wed 14/04/2004 23:35:04
The tutorial sometimes mentions an event "after fade in" to run scripts after the room is loaded and before any other action is done. I'd like to use this function, for some of the things I have to ad due to our game script can't be done in the "on_event ENTER_ROOM" section.

Unfortunately, I've got absolutely no idea how, where and when to add those scripts. I basically need it for the intro, but would also be helpful for some other parts of the game. Might s.o. please show me how to add such a script?!

Thanks in advance!
Title: Re:New problem: "after fade in"
Post by: Bryan on Wed 14/04/2004 23:57:25
It took me a while to find that too, the reference doesn't actually say where it is that I saw.
On the Room Settings screen (where you import the room background), right next to the import background button is a button labelled i where you can add Run Script hooks to those events.
And right next to that is a button labelled {} where you can add room scope variables and also edit the functions.
Title: Re:New problem: "after fade in"
Post by: Dusty D. on Thu 15/04/2004 00:02:55
YESSSS, thanks a lot!
Well, indeed, one more sentence in the tutorial would have been helpful.