I've made a twisting trigger ability but in about 1/3 of duration time it stops. I don't know why, just take a look:
CASTER (unit)
TARGET (unit)
ANGLE (real)
Have I made any mistake somewhere? I said what's the problem, if you can help please post here and correct my triggers.
-
Trigger 1
-
Events
-
Unit - A unit begins to cast a spell
-
-
Conditions
-
(Ability being cast) Equal to Twist
-
-
Actions
-
Set CASTER = (Triggering unit)
-
Set TARGET = (Target unit of ability being cast)
-
Unit - Pause TARGET
-
Trigger - Run Trigger 2<gen> (ignoring conditions)
-
-
-
Trigger 2
-
Events
-
Time - Every 0.03 seconds of game time
-
-
Conditions
-
Actions
-
Set ANGLE = (Facing of TARGET)
-
Unit - Make TARGET face ((Facing of TARGET) + 30) over 0.00 seconds
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Facing of TARGET) Equal to ANGLE
-
-
Then - Actions
-
Trigger - Run Trigger 3<gen> (ignoring conditions)
-
Trigger - Turn off (This trigger)
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
Trigger 3
-
Events
-
Conditions
-
Actions
-
Unit - Cause CASTER to damage TARGET dealing 200.00 damage of attack type Chaos and damage type Normal
-
Unit - Unpause TARGET
-
-
CASTER (unit)
TARGET (unit)
ANGLE (real)
Have I made any mistake somewhere? I said what's the problem, if you can help please post here and correct my triggers.