| 06-24-2003, 09:58 PM | #1 |
Do I need to activate it or whatever if it is just in the GUI? Or is that only for local variables in JASS? I have a unit array, which I think is the problem I am having. How do I activate it if it is just in the GUI? <ex> UnitGroup[0] = Footman UnitGroup[1] = Grunt </ex> That's basically all my code is. |
| 06-24-2003, 10:15 PM | #2 |
Guest | Defining it in the variable editor is 'activating it', if you mean initializing it as in "int foo;". So no, you don't need to do anything special to it, what you have there is fine. If it is a local variable generated in JASS, you cannot access it outside that trigger unless you save it into a global variable. |
