Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: DCillusion on Wed 22/10/2003 06:29:30

Title: Global Positioning
Post by: DCillusion on Wed 22/10/2003 06:29:30
Where do I place my global variable in the global script?

It's sort've hazy to the positioning.
Title: Re:Global Positioning
Post by: Ginny on Wed 22/10/2003 14:40:54
If you mean SetGlobalInt(3,0); (which I think you do) then I think you put it in the game_start function.
int myvar; or something is put before any functions in the script :)

However as i understand it you may set it anywhere you want it to first be set, like after something happened in the game.