Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: jwalt on Sun 10/01/2016 23:32:22

Title: Room funcrtions being written to Global [solved]
Post by: jwalt on Sun 10/01/2016 23:32:22
I using 3.3.0 and the Bass Template for a MAGS game. Everything was behaving logically, until, all of a sudden, all the functions are being sent to the Global script instead of the room script. I have a suspicion that I may have caused this by, accidentally, trying to get one character to respond to a click on another character. I corrected my error, but the problem is still there. I tried a character in another room, and it also wants to send the function to global. The functions work as global functions, but I don't know why, all of a sudden, it started acting this way. Suggestions?
Title: Re: Room funcrtions being written to Global
Post by: Crimson Wizard on Mon 11/01/2016 00:23:59
Character's event handlers are always called in global script.

Unless you are talking about some other functions, in which case please tell, which functions are being called and when.
Title: Re: Room funcrtions being written to Global [solved]
Post by: jwalt on Mon 11/01/2016 00:39:43
So, my problem isn't a problem then. Thank you. I guess I've been spending all my time with Hotspots.