- Joined
- Aug 10, 2010
- Messages
- 6
Whenever i try to replace a gold mine with a haunted gold mine it creates a new gold mine next to it instead. Any workaround? (I need the possibility to replace the Haunted Gold Mine back to the Gold Mine afterwards)
-
Unit Group - Pick every unit in (Units owned by Player) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) is A structure) Equal to True
-
Then - Actions
-
Unit Group - Pick every unit in (Units within 512.00 of (Position of (Picked unit))) and do (Actions)
-
Loop - Actions
- If ((Unit-type of (Picked unit)) Equal to Haunted Gold Mine) then do (Unit - Replace (Picked unit) with a Gold Mine using The old unit's relative life and mana) else do (If ((Unit-type of (Picked unit)) Equal to Entangled Gold Mine) then do (Unit - Replace (Picked unit) with a Gold Mine using The old unit's relative life and mana) else do (Do nothing))
-
Loop - Actions
-
Unit Group - Pick every unit in (Units within 512.00 of (Position of (Picked unit))) and do (Actions)
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
Attachments
Last edited: