- Joined
- Feb 14, 2013
- Messages
- 26
Please help my trigger:
I have a gold mine and a gold miner inside. After gold miner collected all gold in gold mine, the gold mine is dead and removed but gold miner still there, i try to remove gold miner after gold mine dead.
I have a gold mine and a gold miner inside. After gold miner collected all gold in gold mine, the gold mine is dead and removed but gold miner still there, i try to remove gold miner after gold mine dead.
-
Events
-
Unit - A unit dies
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to (==) GoldMine
-
-
Actions
-
Unit Group - Pick every unit in (Units owned by (Triggering Player ) of type Gold_Miner) and do (Actions)
-
Loop - Actions
-
if ((Picked Unit are free or not harvesting or unit not working)) then do (Unit - Kill (Picked Unit)) else do (Do Nothing)
-
-
-