- Joined
- Sep 10, 2006
- Messages
- 185
I'm making the price of the tower 5 x the point value of the tower.
I want not having enough gold to stop creation and remove it. Also, is there an easy way to make it send the message to owner of triggering unit?
-
Building Cost
-
Events
-
Unit - A unit Begins construction
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Owner of (Triggering unit)) Current gold) Greater than or equal to ((Point-value of (Constructing structure)) x 5)
-
-
Then - Actions
-
Player - Add ((Point-value of (Constructing structure)) x (5 x -1)) to (Owner of (Triggering unit)) Current gold
-
-
Else - Actions
-
Game - Display to (All players) for 5.00 seconds the text: |c00f2c435Not enoug...
-
Unit - Order (Triggering unit) to Stop
-
Unit - Remove (Constructed Unit) from the game
-
-
-
-
I want not having enough gold to stop creation and remove it. Also, is there an easy way to make it send the message to owner of triggering unit?
Last edited: