Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Joseph on Tue 18/05/2010 16:07:03

Title: Global Variable Pane vs declaring it in script
Post by: Joseph on Tue 18/05/2010 16:07:03
This is most prob a dumb-dumb question, but what the difference between making global variables in the global script + import/export and doing it in the pane? Im guessing the only thing thats different is its less time consuming in the pane?
Title: Re: Global Variable Pane vs declaring it in script
Post by: Khris on Tue 18/05/2010 17:33:09
The only difference is that the pane doesn't support all types yet. My guess is that the pane contents is simply converted into a few lines of script before compile-time, so there isn't any difference regarding e.g. ints.
Title: Re: Global Variable Pane vs declaring it in script
Post by: RickJ on Wed 19/05/2010 05:56:10
Quote
Im guessing the only thing thats different is its less time consuming in the pane?
One man's trash is another's treasure.  It depends on one's point of view.   Folks comfortable scripting most likely do it in the script while those who are not use the pane.