- Joined
- Mar 11, 2014
- Messages
- 36
Hi, guys. I'm trying to create a custom 'call to arms' mechanic where a unit transforms into another unit when it goes to a specific building.
I've been trying to replicate this, but it doesn't seem to work.
I've been trying to replicate this, but it doesn't seem to work.
-
Transforming Units - Permanent
-

Events
-


Unit - A unit Finishes casting an ability
-
-

Conditions
-


(Ability being cast) Equal to YOUR ABILITY
-
-

Actions
-


Unit Group - Pick every unit in (Units within 400.00 of (Position of (Casting unit))) and do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Picked unit) Not equal to (Casting unit)
-






(Unit-type of (Picked unit)) Equal to OLD UNIT
-
-





Then - Actions
-






Unit - Order (Picked unit) to Move To (Position of (Casting unit))
-






Wait 0.10 seconds
-






Unit - Replace (Picked unit) with a NEW UNIT using The old unit's relative life and mana
-
-





Else - Actions
-
-
-
-
-
Last edited by a moderator:




