• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Whats the problem with this trigger?

Status
Not open for further replies.
Level 3
Joined
May 12, 2008
Messages
28
This trigger doesn't seem to work

  • Hunter Attacks
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Unit-type of (Attacked unit)) Equal to Farmer
      • (Unit-type of (Attacking unit)) Equal to Kurgath the Hunter
      • (Unit-type of (Attacking unit)) Equal to Jubai the Hunter
      • (Unit-type of (Attacking unit)) Equal to Tojara the Hunter
      • (Unit-type of (Attacking unit)) Equal to Kojima the Hunter
      • (Unit-type of (Attacking unit)) Equal to Mazuru the Hunter
    • Actions
      • Unit - Kill (Attacked unit)
      • Unit - Kill (Dying unit)
It's supposed to make it so that if the Farmer unit is attacked by one of the hunters it will instantly die rather than wait for its life to get to 0.
 
  • Conditions
  • (Unit-type of (Attacked unit)) Equal to Farmer
  • Multiple ConditionsOr - Any (Conditions) are true
    • Conditions
    • (Unit-type of (Attacking unit)) Equal to Kurgath the Hunter
    • (Unit-type of (Attacking unit)) Equal to Jubai the Hunter
    • (Unit-type of (Attacking unit)) Equal to Tojara the Hunter
    • (Unit-type of (Attacking unit)) Equal to Kojima the Hunter
    • (Unit-type of (Attacking unit)) Equal to Mazuru the Hunter
Attacking Unit can't be all these units at the same time right? Use multiple OR conditions.
 
OK first of all this trigger lacks hatred ... you cannot kill a dying unit ... sounds logic ...

  • Hunter Attacks
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Unit-type of (Attacked unit)) Equal to Farmer
      • If Any (Conditions) are true
        • Conditions
          • (Unit-type of (Attacking unit)) Equal to Kurgath the Hunter
          • (Unit-type of (Attacking unit)) Equal to Jubai the Hunter
          • (Unit-type of (Attacking unit)) Equal to Tojara the Hunter
          • (Unit-type of (Attacking unit)) Equal to Kojima the Hunter
          • (Unit-type of (Attacking unit)) Equal to Mazuru the Hunter
    • Actions
      • Farmer = (Attacked unit)
      • Unit - Kill Hunter
 
  • Events
    • Unit - A unit Is attacked
  • Conditions
    • (Unit-type of (Attacked unit)) Equal to Farmer
    • If Any (Conditions) are true
      • Conditions
        • (Unit-type of (Attacking unit)) Equal to Kurgath the Hunter
        • (Unit-type of (Attacking unit)) Equal to Jubai the Hunter
        • (Unit-type of (Attacking unit)) Equal to Tojara the Hunter
        • (Unit-type of (Attacking unit)) Equal to Kojima the Hunter
        • (Unit-type of (Attacking unit)) Equal to Mazuru the Hunter
  • Actions
    • Unit - Kill (Attacked Unit)
 
  • Events
    • Unit - A unit Is attacked
  • Conditions
    • (Unit-type of (Triggering Unit)) Equal to Farmer
    • Or Any (Conditions) are true
      • Conditions
        • (Unit-type of (Attacking Unit)) Equal to Kurgath the Hunter
        • (Unit-type of (Attacking Unit)) Equal to Jubai the Hunter
        • (Unit-type of (Attacking Unit)) Equal to Tojara the Hunter
        • (Unit-type of (Attacking Unit)) Equal to Kojima the Hunter
        • (Unit-type of (Attacking Unit)) Equal to Mazuru the Hunter
  • Actions
    • Unit - Kill (Triggering Unit)
 
Status
Not open for further replies.
Back
Top