hello there,
I am trying to make one of my spells not cast-able on ethereal or invisible units. for some reason even though the rest of the trigger worked, the new order "stop" didn't stop the unit from gong to cast the spell. what am I doing wrong?
I am trying to make one of my spells not cast-able on ethereal or invisible units. for some reason even though the rest of the trigger worked, the new order "stop" didn't stop the unit from gong to cast the spell. what am I doing wrong?
-
GG filter
-
Events
-
Unit - A unit Is issued an order targeting an object
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Team Killer
-
(Issued order) Equal to (Order(channel))
-
-
Actions
-
Set Temp_PlayerGroup = (All enemies of (Triggering player))
-
Player Group - Pick every player in Temp_PlayerGroup and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
((Target unit of issued order) is Ethereal) Equal to True
-
((Target unit of issued order) is invisible to (Picked player)) Equal to True
-
-
-
-
Then - Actions
-
Unit - Order (Ordered unit) to Stop
-
Set TempPlayerGroup2 = (Player group((Triggering player)))
-
Game - Display to TempPlayerGroup2 for 10.00 seconds the text: |cffffff00Congratul...
-
Sound - Play Error <gen>
-
-
Else - Actions
-
-
-
-
Custom script: call DestroyForce(udg_Temp_PlayerGroup)
-
Custom script: call DestroyForce(udg_TempPlayerGroup2)
-
-