• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

GUI Trigger problems (event: A unit is attacked)

Status
Not open for further replies.
Level 2
Joined
Oct 13, 2007
Messages
8
Hey, I've got several spells in my game that are set to trigger every time a unit that has a specific item attacks. To be more specific, any time a unit that has this item attacks, a dummy unit is spawned that fires a forked lightning at the attacked unit.

The problem I'm having is that I've found that this can be easily abused by stopping the attack the moment the animation starts to fire the forked lightning without completing an attack.

Any help that given is appreciated ^_^
 
Level 2
Joined
Oct 13, 2007
Messages
8
Thanks so much man, I really appreciate it

EDIT: I've installed the system but am unsure of how to use it as my GUI triggers use the "Attacking"/"Attacked" unit as a basis for their targets, so if I use the "DamageEvent equals 1.00" event, then there is no attacking or attacked unit for the conditions or actions to refer to
 
Last edited:
Status
Not open for further replies.
Top