• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

help spell pushing

Status
Not open for further replies.
Level 19
Joined
Nov 16, 2006
Messages
2,165
  • Gust
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Your ability
    • Actions
      • Set Knock = 8.00
      • Set Knock_Angle = (Facing of (Casting unit))
      • Set Knocked_unit = (Target unit of ability being cast)
      • Wait until ((Knocked_unit has buff Knocked ) Equal to True), checking every 0.10 seconds
      • Trigger - Turn on Gust Knockback <gen>
      • Wait 1.49 seconds
      • Trigger - Turn off Gust Knockback <gen>
      • Set Knock = 0.00
      • Set Knocked_unit = No unit
      • Set Knock_Angle = 0.00
  • Knockback
    • Events
      • Time - Every 0.01 seconds of game time
    • Conditions
    • Actions
      • Set Knock = (Knock - 0.07)
      • Special Effect - Create a special effect at (Position of Knocked_unit) using Abilities\Weapons\GryphonRiderMissile\GryphonRiderMissileTarget.mdl
      • Special Effect - Destroy (Last created special effect)
      • Set GustLocation = (Position of Knocked_unit)
      • Unit - Move Knocked_unit instantly to (Location offset by Knock towards Knock_Angle degrees)
      • Custom script: call RemoveLocation(udg_Location)
Something like that but it is not that perfect altough it works.
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
well you cant use wait for knockback
because 0.10 wait works like 0.50
its very slow unit will move 5 per 0.5 seconds instead of 1 per 0.1

use WEU it has knockback

(man I know WEU is bad but I cant tell someone asks this question to use handlevars or vjass)
 
Status
Not open for further replies.
Top