Replacing all units of type x

Status
Not open for further replies.
Level 9
Joined
Feb 2, 2013
Messages
97
Hello guys :D

So, after a certain event happend (player red is not allied to player blue anymore) i want a periodic event just for reds units where every 5 min all units of the type (for example) footman are replaced by zombies.

I used the command
UnitGroup - Pick every unit in (Units owned by Player 1 (Red) of type Footman) and do (Unit - Replace (Matching unit) with a Zombie using New Unit: Standard - life and mana)

I allready tryed out Triggering unit instead of matching unit and so on, but it still doesent work, what do i do wrong? :D

all the best,
josch
 
Status
Not open for further replies.
Top