Warcraft III resources & community, 2003–2006 · archived

This is a tricky one can any one help

7 posts
#1

This is a tricky one can any one help

ok i need an abililty that puts down a ward... BUT the ward needs to make all units in a near by radius go away .... Do u understand that? tell me if you know how


and i can use triggers
#2
I reckon that would be pretty easy, but you have to define what you mean by "go away". Do you want them to die, or disappear and never come back? Or go away for the duration of the ward, or for a set time? Or get teleported somewhere?
#3
Or move away from the ward as if they were scared - like the opposite effect to the "taunt" ability.
#4
sry for the bad explenation im mean like as you said get scared and run away from the ward for 25 seconds (the ward dies in that time) can u help
#5
Well, unfortunately, you'll have to trigger it. You want the units that were within range of the ward when it was cast to run away for 25 seconds, or do you want all units that come within range of the ward within 25 seconds to run away?
#6
tirggers dont matter to me


but if i could do both that would be great ... or mabye just the second 1
#7
Well, then, you'd want a trigger that runs every 1.00 seconds.

For each of those wards on the map, it finds all the units with in x.xx range of the ward, and if each belongs to a player that is an enemy of the ward-owner, order the units to move to a spot that is x.xx different from the X-coordinate and x.xx different from the Y-coordinate of the ward.