- Joined
- Jan 23, 2020
- Messages
- 3
I use this trigger currently to get a negative number taken from the player
I wanted to know if there's an easier way to change the sign of the variable "iron ingot"?
-
Player - Add ((Integer(Iron_Ingot)) - (Integer((Iron_Ingot x 2.00)))) to (Owner of (Buying unit)).Current gold
-
Player - Add (Sign((Integer(Iron_Ingot)))) to (Owner of (Buying unit)).Current gold
I wanted to know if there's an easier way to change the sign of the variable "iron ingot"?
Last edited: