- Joined
- Jul 10, 2013
- Messages
- 73
I'm trying to do a evolve trigger where once a person has enough currency they can upgrade with a chat string (-evolve int). I have the trigger here but I don't know why it isn't working.
-
evolve intellect1
-
Events
-
Player - Player 1 (Red) types a chat message containing -evolve int as An exact match
-
-
Conditions
-
(Player 1 (Red) Current lumber) Greater than or equal to 1500
-
(Owner of (Triggering unit)) Equal to Player 1 (Red)
-
-
Actions
-
Set Point = (Position of Hero1)
-
Player - Add -1500 to Player 1 (Red) Current lumber
-
Unit - Remove Hero1 from the game
-
Unit - Create 1 |CFF20C000Biomind (Intellect Hero) for Player 1 (Red) at Point facing Default building facing degrees
-
Special Effect - Create a special effect at Point using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
-
Special Effect - Destroy (Last created special effect)
-
Special Effect - Create a special effect at Point using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
-
Special Effect - Destroy (Last created special effect)
-
Custom script: call RemoveLocation(udg_Point)
-
-
-
player 1
-
Events
-
Map initialization
-
-
Conditions
-
(Player 1 (Red) slot status) Equal to Is playing
-
-
Actions
-
Set Point = (Random point in Starting Point <gen>)
-
Unit - Create 1 Player (Hero) for Player 1 (Red) at Point facing Default building facing degrees
-
Set Hero1 = (Last created unit)
-
Unit Group - Add (Last created unit) to HumansAlive
-
Hero - Create Body Armor and give it to (Last created unit)
-
Hero - Create Droid and give it to (Last created unit)
-
Player - Add 300 to Player 1 (Red) Current gold
-
Custom script: call RemoveLocation(udg_Point)
-
Selection - Select Hero1 for Player 1 (Red)
-
-
Last edited: