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

Chance To Miss/Inaccuracy

Status
Not open for further replies.
Level 22
Joined
Jun 23, 2007
Messages
3,242
How would i make a trigger that gives a certain unit a chance to miss on each attack, until he activates an ability?

And how would i trigger it so that the units projectile doesnt land dead on the target, it goes in the general direction, but not dead on.
 
Level 12
Joined
Aug 22, 2008
Messages
911
You're going to have to give Evasion to the unit, and when the unit uses the ability remove Evasion from the unit.
Also, you can add an initially disabled attack to the unit with "Missile Homing enabled = false", and enable it whenever you need it by triggers.
 
Level 15
Joined
Dec 18, 2007
Messages
1,098
1- Make a dummy unit that keeps casting drunken haze or something on the unit. Make a trigger that fires every say .1 second. Each time it fire, if picks every unit of the type and if that unit does not have the drunken haze buff thing and does not have the other ability's buff, make the dummy unit cast drunken haze on it.
2- Not really sure about this one, you could try creating a dummy missle like Elune's Arrow in dota or something.
 
Status
Not open for further replies.
Top