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.
Uuuh hard -.-
you need to trigger this I think (there might be a solution with the nightelf invisble thing but i don't know how to do that...)
I would do it like this:
Variables: Position = Position. XD
Event: Time - Every 0.2 sec of gametime
Action:
If(Position of "YourUnit" == "Position")
Then: Add "yourAbility" to "YourUnit"
Else: Remove "yourAbility" from "yourUnit"
Set Position = Position of "YourUnit"
I would do it like this:
Variables: Position = Position. XD
Event: Time - Every 0.2 sec of gametime
Action:
If(Position of "YourUnit" == "Position")
Then: Add "yourAbility" to "YourUnit"
Else: Remove "yourAbility" from "yourUnit"
Set Position = Position of "YourUnit"
Variables: Position = Position.
Event: Time - Every 0.2 sec of gametime
Action:
If(Position of "YourUnit" == "Position")
Then: Add "yourAbility" to "YourUnit"
Else: Remove "yourAbility" from "yourUnit"
Set Position = Position of "YourUnit"
Move1
Events

Time - Every 0.06 seconds of game-time
Conditions
Actions

Set Point1 = (Position of (Your unit))
Move2
Events

Time - Every 0.08 seconds of game-time
Conditions
Actions

Set Point2 = (Position of (Your unit))

If/ Then/ Else


If (Conditions)



(Distance between Point2 and Point1) Equal to 0


Then (Actions)



Unit - Add Ability to (Your unit)


Else (Actions)



Unit - Remove Ability from (Your unit)

Custom script: call RemoveLocation (udg_Point2)

Custom script: call RemoveLocation (udg_Point1)
