Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Push
- Events
- Unit - Any Unit uses Generic - Push (Generic) at Effect4 - Channel stage (Include shared abilities)
- Local Variables
- caster = No Unit <Unit>
- angle = 0.0 <Real>
- Conditions
- Actions
- Variable - Set caster = (Triggering unit)
- Variable - Set angle = (Facing of caster)
- General - If (Conditions) then do (Actions) else do (Actions)
- If
- ((Triggering unit) Movement Speed (Default)) <= 2.1
- Then
- Actor - Send message (SetScale 2.0, 2.0, 2.0 0.0) to actor ("PushStart" actor from the scope (Actor scope for (Triggering unit)))
- Else
- General - If (Conditions) then do (Actions) else do (Actions)
- If
- ((Triggering unit) Movement Speed (Default)) > 2.1
- ((Triggering unit) Movement Speed (Default)) <= 2.45
- Then
- Actor - Send message (SetScale 1.2, 1.2, 1.2 0.0) to actor ("PushStart" actor from the scope (Actor scope for (Triggering unit)))
- Else
- General - While (Conditions) are true, do (Actions)
- Conditions
- (caster has Generic - Push (Buff)) == True
- (((Position of caster) offset by 0.3 towards angle degrees) is passable) == True
- Actions
- Unit - Move caster instantly to ((Position of caster) offset by (0.075 + ((caster Radius (Current)) * 0.125)) towards angle degrees) (Blend)
- General - Wait 0.0 Game Time seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement