a unit casts dash then slides to that area, once the unit reaches that area it keeps trying to slide but stays there. the unit cant move either unless the dash effect trigger if off. I know how to turn it off but my problem is that you can cast dash farther or closer and i just cant put "wait (whatever) seconds". thx in advance.
Dash:events/Unit - A unit Starts the effect of an ability
condition/(Ability being cast) Equal to Dash
Action/Set Caster[(Player number of (Owner of (Casting unit)))] = (Casting unit)
Set Point[(Player number of (Owner of Caster[(Player number of (Owner of (Casting unit)))]))] = (Target point of ability being cast)
Trigger - Turn on Dash Effect <gen>
Dash Effect(not initially on)/Events/Time - Every 0.01 seconds of game time
Condition/none
Action/Unit - Move Caster[(Player number of (Owner of (Casting unit)))] instantly to ((Position of Caster[(Player number of (Owner of (Casting unit)))]) offset by 5.00 towards (Angle from (Position of Caster[(Player number of (Owner of (Casting unit)))]) to Point[(Player number of (Owner of Caster[(Player number of (Owner of (Casting unit)))]
Variables used for these triggers: Point is Point Array 12
Caster is Unit Array 12
TYVM!! GAHH!!
Dash:events/Unit - A unit Starts the effect of an ability
condition/(Ability being cast) Equal to Dash
Action/Set Caster[(Player number of (Owner of (Casting unit)))] = (Casting unit)
Set Point[(Player number of (Owner of Caster[(Player number of (Owner of (Casting unit)))]))] = (Target point of ability being cast)
Trigger - Turn on Dash Effect <gen>
Dash Effect(not initially on)/Events/Time - Every 0.01 seconds of game time
Condition/none
Action/Unit - Move Caster[(Player number of (Owner of (Casting unit)))] instantly to ((Position of Caster[(Player number of (Owner of (Casting unit)))]) offset by 5.00 towards (Angle from (Position of Caster[(Player number of (Owner of (Casting unit)))]) to Point[(Player number of (Owner of Caster[(Player number of (Owner of (Casting unit)))]
Variables used for these triggers: Point is Point Array 12
Caster is Unit Array 12
TYVM!! GAHH!!