- Joined
- Apr 28, 2016
- Messages
- 33
I want to change my unit color when he casts a target-unit spell. Example, i use storm bolt id base order, when it cast to a target unit, the caster change color into the casting one. I try to triggering like this:
-
Change Color
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) Equal to Change Color
-
Actions
- Set TempUnit = (Casting unit)
- Set TempTarget = (Target unit of ability being cast)
- Set TargetColor = (Color of (Owner of (TempTarget)))
- Unit - Change color of TempUnit to TargetColor
-
Events