• 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.

pushback

Status
Not open for further replies.
Level 1
Joined
Oct 27, 2007
Messages
1
i need to, for once know how to make a *pushback* effect in GUI - (like spiritbreakers greater bash abillity on DOTA), but in the form of when u do a stomp, or a thunderclap or anything affecting the ground and units around u, the units around you push away from you, or (optional 2 help me with) gets a bounce away from the hero.
 
Level 10
Joined
Jun 16, 2007
Messages
415
  • Event
    • A unit starts the effect of an ability
  • Conditions
    • Ability being cast equal to PushAway
  • Actions
    • Set temppoint = Position of (Triggering Unit)
    • Set tempgroup = Units within 250.00 range of temppoint matching...
    • Custom script - call RemoveLocation (udg_temppoint)
    • Unit Group - Pick every unit in tempgroup and (Do Actions)
      • Set angle = the angle you want em to slide
      • Set distance = distance you want em to slide
      • For each Integer A from 1 to 100
        • set unit_pos = Position of (Picked Unit)
        • set unit_target = unit_pos offset by distance/100
        • Unit - Move (Picked Unit) to Unit_target
        • Custom script - call RemoveLocation(udg_unit_pos)
        • Custom script - call RemoveLocation(udg_unit_target)
        • Wait 0.02 seconds
    • Custom script - call DestroyGroup(udg_tempgroup)
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
it is possible with GUI but it would be something like "WHAT THE HELL"
xD learn JASS then vJASS
 
Status
Not open for further replies.
Top