Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Kimbra on Mon 10/10/2011 09:28:30

Title: Exporting "Global Script variable" and "AGS Global Variables"
Post by: Kimbra on Mon 10/10/2011 09:28:30
my first technical question  :-*
I wanted to understand the difference between AGS Global Variables (from the side menu next to the characters, sprites...) and the variables that are exported from the Global Script and imported in rooms.
Title: Re: Exporting "Global Script variable" and "AGS Global Variables"
Post by: Khris on Mon 10/10/2011 11:34:21
Usually you'd import a variable in the header of the same script so it's available to all room scripts.

There's no difference, the Global variables pane was added because how to import/export was a constant topic in this forum.
You still need to do it manually if you need a global array or struct.
Title: Re: Exporting "Global Script variable" and "AGS Global Variables"
Post by: Kimbra on Mon 10/10/2011 14:43:05
thaaaanx  :-*