Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Ghostlady on Mon 09/05/2005 15:25:29

Title: Global variables vs Room variables
Post by: Ghostlady on Mon 09/05/2005 15:25:29
When I started creating my game, I always used the global graphical variables.  I have some puzzles that use quite a bit.  Now I have run out of the global graphical variables and reverted to using the room graphical variables.  My question is, how do I delete or rename some of the global graphical variables that I need to free up.
Title: Re: Global variables vs Room variables
Post by: Scorpiorus on Sat 28/05/2005 14:05:15
Do you mean interaction editor variables? Heh, I didn't know there is a limit on those. And from what I know you can't delete such variables. I think it's deliberate since removing them at design time would mean the interaction editor scripts that use them won't work anymore. I wonder what's the limit on these vars? Increasing it is probably a reasonable way to go.
Title: Re: Global variables vs Room variables
Post by: Ghostlady on Tue 31/05/2005 02:03:48
QuoteDo you mean interaction editor variables?

Yes, that is what I meant.Ã,  When I first started the game, I was using all global when I probably could have used the room variables.Ã,  Then I ran out of global.Ã,  Thank goodness I was at the very end of the game.Ã,  I started swapping out some of the globals within a room to a room variable to get some more globals, but then I couldn't rename the variable so the names didn't quite fit the room anymore so it got confusing.Ã,  But, I got it going anyways.
Title: Re: Global variables vs Room variables
Post by: Pumaman on Tue 31/05/2005 20:10:15
Yeah sorry, the interaction editor has become somewhat neglected of late. Since the vast majority of people use scripting instead, it never seems worth the hassle to update the graphical editor.