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

Triggering help - Missing Attacks

Status
Not open for further replies.
Level 3
Joined
Feb 12, 2005
Messages
22
I need a trigger so that the unit only gets hurt if the attack hits him (so if he moves the attack will not hit him) I have no idea how to do this.

Thanks
 
Level 11
Joined
Aug 15, 2004
Messages
710
well

you might want to do something like this

event
perodic time every 1 second
action

if/then/else
condition

current order of ----unit = right click

action
add 100% evasion to --- unit

else
remove 100% evasion from --- unit
 
Level 9
Joined
Jan 13, 2005
Messages
553
I think the code that taurenwarrior had presented is just like giving your unit/hero an evasion ability. I see no significant difference. Well if you have solved the topic I have posted entitled; Koril's Evasiveness to WCTFT, it might help you. :D
 
Status
Not open for further replies.
Top