I've been trying to learn Jass and it goes pretty nice this far, though there's one thing I'm slightly confused about..
I recall reading on one of the tutorials that local variables only exist in the function they were created/declared in.
So
If I have to use global variables in spells that has more than one function, how can I possibly make it MUI? (In GUI I used arrays but I wonder if it's just me being confused or if there's any easier way)
Cheers.
I recall reading on one of the tutorials that local variables only exist in the function they were created/declared in.
So
If I have to use global variables in spells that has more than one function, how can I possibly make it MUI? (In GUI I used arrays but I wonder if it's just me being confused or if there's any easier way)
Cheers.