Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: kantor_98 on Wed 25/10/2006 14:04:04

Title: too many gloobalint ???
Post by: kantor_98 on Wed 25/10/2006 14:04:04
In may game I use a coupleof global int's for marking different status of the objects: opne/closed, used/notused, and so on.
1. Is there a way to minimize the number of this variables ? can be used something different ?
2. I already use 40 globalint and there will be more. Is ther a limitation or bad impact on the program if there are so many GI used ?
Thank you.
Title: Re: too many gloobalint ???
Post by: Khris on Wed 25/10/2006 15:27:53
1. The only way to minimize the number of used variables is to save more than one info in a single variable. Luckily, you won't have to do this, furthermore it is complicated and involves advanced scripting.

2. There are 500 GlobalInts (manual -> Reference -> System limits).