• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

pushback

Status
Not open for further replies.

TheSilverEagle

T

TheSilverEagle

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.
 
  • 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)
 
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.
Back
Top