HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

a bug with locals variables and gui

03-06-2007, 03:51 PM#1
Troll-Brain
Fo simple things i use gui and when i need a local variable i use this tip :

Trigger:
Custom script: local integer udg_A
Set A = 1

But there is bug when i need several local variables in the same type (several integer, several units,....)

They take the same value ! (the last variable)
Luckily the globals are not used but its so boring.

Maybe it's not a new bug for you but a reminder cant be a bad thing
03-06-2007, 05:15 PM#2
grim001
already known, so start using JASS instead
03-06-2007, 05:38 PM#3
Troll-Brain
Don't worry for me i use jass when i can't use gui or when its really faster and/or better.
But i dont use only jass cause im so messy ^^
03-06-2007, 05:55 PM#4
Captain Griffen
The local variables in GUI tricky is iffy, only limited, and can get confusing as you don't know when it is in another thread.
03-06-2007, 08:24 PM#5
Troll-Brain
i know that but im not confused when i use it.
And even if there is this bug it is helpfull for me