-
Mark
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Mark
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Target unit of ability being cast) is A Hero) Not equal to True
-
-
Then - Actions
-
Special Effect - Destroy Mark_Effect[2]
-
Unit - Order (Casting unit) to Stop
-
Set Mark_Target[2] = (Target unit of ability being cast)
-
Game - Display to (All players) the text: ((Name of (Owner of (Casting unit))) + ( has marked: + (Name of Mark_Target[2])))
-
Special Effect - Create a special effect attached to the overhead of Mark_Target[2] using Objects\RandomObject\RandomObject.mdl
-
Set Mark_Effect[2] = (Last created special effect)
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Target unit of ability being cast) is A Hero) Equal to True
-
-
Then - Actions
-
Special Effect - Destroy Mark_Effect[1]
-
Unit - Order (Casting unit) to Stop
-
Set Mark_Target[1] = (Target unit of ability being cast)
-
Game - Display to (All players) the text: ((Name of (Owner of (Casting unit))) + ( has marked: + (Name of (Owner of Mark_Target[1]))))
-
Special Effect - Create a special effect attached to the overhead of Mark_Target[1] using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
-
Set Mark_Effect[1] = (Last created special effect)
-
-
Else - Actions
-
-
-
This system is supposted to create special effect on unit matching condition, it somehow don't work.
If there are any bugg what i don't see, maybe something to improve tell me please.
Well i cast ability and it do not create special effect on unit.
Palooo3