- Joined
- Mar 19, 2010
- Messages
- 106
Im making a new map and.. I found a problem that I cannot fix... Im trying to make a trade system that cost 100 gold and gives you 50 lumber... and I wanted to do it with a trigger here the trigger:....
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Owner of (Triggering unit)) Current gold) Greater than* 100
-
Then - Actions
- Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) - 100)
- Player - Add 50 to (Owner of (Triggering unit)) Current wood
-
Else - Actions
- Game - Display to (Player group((Owner of (Triggering unit)))) for 8.00 seconds the text: |c00FFFC01You need 100 gold|r
-
If - Conditions