Genyuumaru
New Member
- Reaction score
- 15
I learned some new things in GUJass.
I use locals to make spells MUI. Also, to resume the coding in GUI (and not write a custom script every time I use the local) I came up with this:
I HATE JASS! But I love locals
I use locals to make spells MUI. Also, to resume the coding in GUI (and not write a custom script every time I use the local) I came up with this:
Code:
custom script: local unit unit1
custom script: local integer number
custom script: set udg_temp_unit = unit1
custom script: set udg_temp_number = number1
Use temp_unit and temp_number in all the actions I want to...
wait 5 seconds
custom script: set udg_temp_unit = unit1
custom script: set udg_temp_number = number1
Use them further...
custom script: set unit1 = null
I HATE JASS! But I love locals