- Joined
- Apr 13, 2005
- Messages
- 630
i got this trigger that idk how to remove the point
for the leapcaster n target point do i have to use 1 thru how many players meaning i have to copy n paste the trigger like
or just say [player number of (owner of (casting unit))]?
-
Leap
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Leap
-
Actions
- Set Leapcaster[(Player number of (Owner of (Casting unit)))] = (Casting unit)
- Set LeapCasterPoint[(Player number of (Owner of (Casting unit)))] = (Position of (Casting unit))
- Set LeapTargetPoint[(Player number of (Owner of (Casting unit)))] = (Target point of ability being cast)
- Unit - Pause Leapcaster[(Player number of (Owner of (Casting unit)))]
- Unit - Turn collision for Leapcaster[(Player number of (Owner of (Casting unit)))] Off
- Unit - Add Crow Form to Leapcaster[(Player number of (Owner of (Casting unit)))]
- Animation - Change Leapcaster[(Player number of (Owner of (Casting unit)))]'s animation speed to 50.00% of its original speed
- Animation - Play Leapcaster[(Player number of (Owner of (Casting unit)))]'s walk animation, using only Common animations
- Trigger - Turn on LeapFlyLoop <gen>
- Animation - Change Leapcaster[(Player number of (Owner of (Casting unit)))] flying height to 700.00 at 400.00
- Wait 0.50 seconds
- Animation - Change Leapcaster[(Player number of (Owner of (Casting unit)))] flying height to 0.00 at 700.00
- Wait 0.30 seconds
- Animation - Change Leapcaster[(Player number of (Owner of (Casting unit)))]'s animation speed to 100.00% of its original speed
- Animation - Reset Leapcaster[(Player number of (Owner of (Casting unit)))]'s animation
- Trigger - Turn off LeapFlyLoop <gen>
- Wait 0.05 seconds
- Unit - Remove Crow Form from Leapcaster[(Player number of (Owner of (Casting unit)))]
- Unit - Unpause Leapcaster[(Player number of (Owner of (Casting unit)))]
- Unit - Turn collision for Leapcaster[(Player number of (Owner of (Casting unit)))] On
- Custom script: call RemoveLocation(udg_LeapTargetPoint[1])
- Custom script: call RemoveLocation(udg_LeapCasterPoint[1])
- Set Leapcaster[(Player number of (Owner of (Casting unit)))] = No unit
-
Events
-
LeapFlyLoop
-
Events
- Time - Every 0.01 seconds of game time
- Conditions
-
Actions
- Set LeapSecSecPoint[(Player number of (Owner of (Casting unit)))] = (Position of Leapcaster[(Player number of (Owner of (Casting unit)))])
- Set LeapSecPoint[(Player number of (Owner of (Casting unit)))] = (LeapSecSecPoint[(Player number of (Owner of (Casting unit)))] offset by ((Distance between LeapSecSecPoint[(Player number of (Owner of (Casting unit)))] and LeapTargetPoint[(Player number of (Owner of (Casting unit)))]) / 110.00) towards (Angle from LeapCast
- Unit - Move Leapcaster[(Player number of (Owner of (Casting unit)))] instantly to LeapSecPoint[(Player number of (Owner of (Casting unit)))], facing (Angle from LeapCasterPoint[(Player number of (Owner of (Casting unit)))] to LeapTargetPoint[(Player number of (Owner of (Casting unit)))]) degrees
- Custom script: call RemoveLocation(udg_LeapSecSecPoint[1])
- Custom script: call RemoveLocation(udg_LeapSecSecPoint[2])
- Custom script: call RemoveLocation(udg_LeapSecSecPoint[3])
- Custom script: call RemoveLocation(udg_LeapSecSecPoint[4])
- Custom script: call RemoveLocation(udg_LeapSecSecPoint[5])
- Custom script: call RemoveLocation(udg_LeapSecPoint[1])
- Custom script: call RemoveLocation(udg_LeapSecPoint[2])
- Custom script: call RemoveLocation(udg_LeapSecPoint[3])
- Custom script: call RemoveLocation(udg_LeapSecPoint[4])
- Custom script: call RemoveLocation(udg_LeapSecPoint[5])
-
Events
Last edited: