- Joined
- May 1, 2008
- Messages
- 1,605
Moin moin -_-;
I just want understand it. In GUI I created a variable named "Hero". It's and unittype variable with array.
Now I set "set Hero[1] = Furbolg Shaman ('H000')" <- works!
In jass I create a "local unittype array hero" variable. Now the next line:
"set hero[1] = 'H000'" <- works not (Cannot convert integer to unittype)
Well if I convert the GUI once to jass, then it's 100% the same expect the gui variable is udg_Hero.
So what is the difference here? =O
I just want understand it. In GUI I created a variable named "Hero". It's and unittype variable with array.
Now I set "set Hero[1] = Furbolg Shaman ('H000')" <- works!
In jass I create a "local unittype array hero" variable. Now the next line:
"set hero[1] = 'H000'" <- works not (Cannot convert integer to unittype)
Well if I convert the GUI once to jass, then it's 100% the same expect the gui variable is udg_Hero.
So what is the difference here? =O