Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Turning

Events


Time - Every 0.10 seconds of game time

Conditions

Actions


Set TurningAngle = (Facing of (Triggering unit))


Set TurningAngle = (TurningAngle + 10.00)


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



If - Conditions




TurningAngle Greater than 360.00



Then - Actions




Set TurningAngle = (TurningAngle - 360.00)



Else - Actions


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



If - Conditions




TurningAngle Less than 0.00



Then - Actions




Set TurningAngle = (TurningAngle + 360.00)



Else - Actions


Unit - Make (Triggering unit) face TurningAngle over 0.10 seconds
Start

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to Cyclone

Actions


Set TurningUnit = (Target unit of ability being cast)


Trigger - Turn on Turning <gen>


Wait 1.00 seconds


Trigger - Turn off Turning <gen>
If its behind

Events

Conditions

Actions


Unit - Order (Triggering unit) to Stop


Unit - Make (Triggering unit) face (Target unit of ability being cast) over 0.00 seconds


Set FacingAngleCaster = (Facing of (Triggering unit))


Set FacingAngleTar = (Facing of (Target unit of ability being cast))


Set FacingAngleTar = (FacingAngleCaster - FacingAngleTar)


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



If - Conditions




Or - Any (Conditions) are true





Conditions






FacingAngleTar Greater than or equal to 90.00






FacingAngleTar Less than or equal to -90.00



Then - Actions




Unit - Reset ability cooldowns for (Triggering unit)



Else - Actions




Skip remaining actions
