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

Push Back Spell

Status
Not open for further replies.
Level 4
Joined
Jul 25, 2005
Messages
48
How would I make a spell that targets a single unit or hero does some damage and pushes them back I could only prolly do the damage and I have no idea on how to do the pushing back thing.
 
Level 4
Joined
Nov 3, 2004
Messages
79
hey iplaystarcraft ur pack is not really awesome its so easy and very laggy and ur "Push" pushes only 1 unit back and very weird to my pushes all units surroud back and does damage (Pushback Mines)
 
Level 8
Joined
Oct 3, 2004
Messages
101
It would REALLY look gay if a unit is pushed and other units will not be pushed by him.

Search for "Powerbash" on the spells section for a nice spell made by nuclear, but its a bit laggy and not exact. Other units who get pushed by the pushed units function is a bit screwy, so i suggest is look at the jass script and edit it out so it wont affect other units, if thats what you want.

The good way of using a non laggy pushback is using jass and the function MoveUnitToPolarProjection, every 0.05 seconds, and setting angles of X and Y for the pushed back unit to know where he moves when he bumps into something.
To make it more interesting, you have to use a GetTerrainCliffLevel comparison, to see if the unit will get bumped into a cliff or not.

Heh, I bet you don't even bother reading what I wrote. ITS POSSILBE :)
 
Status
Not open for further replies.
Top