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

Trigger help!

Status
Not open for further replies.
Level 6
Joined
Mar 2, 2013
Messages
127
I am trying to make an item that pushes units away from the caster.
but I can't get it to work, please help.
 

Attachments

  • Untitled2.png
    Untitled2.png
    27.6 KB · Views: 150
Level 17
Joined
Mar 21, 2011
Messages
1,611
well it cant work, you move the picked units every 0.05 seconds to the same position,
you have to create a real variable that you increase every 0.05 seconds.
add -->
Set Real = Real + 18
and then move the units offset by real
 
Level 6
Joined
Mar 2, 2013
Messages
127
Got it to work, I love it when something I make works ^^

I want to add something extra tho and I'm not sure how to do it.

Instead of have them just pushed, make them go up a little big aswell.
 

Attachments

  • Untitled2.png
    Untitled2.png
    2.4 KB · Views: 76
Level 21
Joined
Mar 27, 2012
Messages
3,232
It took me 3 hours to create a knockback system, to do it within 30 minutes is impressive.

I've made similar systems over a dozen times, so eventually the pointless stuff gets filtered out and it gets easy. This is also not the full system, as the full one also checks if the unit is flying,sea,ground and matches it with what it can and can not go through.
Btw, 15 minutes.

Got it to work, I love it when something I make works ^^

I want to add something extra tho and I'm not sure how to do it.

Instead of have them just pushed, make them go up a little big aswell.

This is something a lot harder, but I bet Almia's system has it.
 
Status
Not open for further replies.
Top