- Joined
- Sep 26, 2009
- Messages
- 9,521
In both JASS and GUI, you can type out the number "10" or the number "-10" when
you need a positive or negative variable, respectively.
However, in JASS you can also negate a variable with "-variableName" to make it a
negative if positive, and vice-versa. I can't see a practical way to do this in GUI. I
can only do something sloppy and retarded like:
"0 - variableName" or
"variableName * -1"
Is there a better way to do this in GUI without using custom script?
you need a positive or negative variable, respectively.
However, in JASS you can also negate a variable with "-variableName" to make it a
negative if positive, and vice-versa. I can't see a practical way to do this in GUI. I
can only do something sloppy and retarded like:
"0 - variableName" or
"variableName * -1"
Is there a better way to do this in GUI without using custom script?