• 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] Region Advanced Triggering

Status
Not open for further replies.
Level 9
Joined
Jul 1, 2005
Messages
392
What I have:
  • Church0
    • Events
      • Unit - A unit enters Church 000 <gen>
    • Conditions
      • (Unit-type of (Entering unit)) Equal to Necromancer
      • (Unit-type of (Entering unit)) Equal to Lady Vashj
      • (Unit-type of (Entering unit)) Equal to Death Knight
      • (Unit-type of (Entering unit)) Equal to Crypt Lord
      • (Unit-type of (Entering unit)) Equal to Lich
      • (Unit-type of (Entering unit)) Equal to Dreadlord
    • Actions
      • Unit - Kill (Entering unit)
      • Game - Display to (All players) the text: Return to the Grave...
What I want to do:
Somehow take this line: Unit - A unit enters Church 000 <gen>
ADD Church 001 <gen>, Church 002 <gen>, Church 003 <gen>

If this can be done, how is it accomplished?
 
Last edited by a moderator:
  • (Unit-type of (Entering unit)) Equal to Necromancer
  • (Unit-type of (Entering unit)) Equal to Lady Vashj
  • (Unit-type of (Entering unit)) Equal to Death Knight
  • (Unit-type of (Entering unit)) Equal to Crypt Lord
  • (Unit-type of (Entering unit)) Equal to Lich
  • (Unit-type of (Entering unit)) Equal to Dreadlord
This will only return true if a unit is a necromancer, naga sea witch, death knight, crypt lord, lich and dreadlord all at the same time.

  • Or - Multiple Conditions
    • (Unit-type of (Entering unit)) Equal to Necromancer
    • (Unit-type of (Entering unit)) Equal to Lady Vashj
    • (Unit-type of (Entering unit)) Equal to Death Knight
    • (Unit-type of (Entering unit)) Equal to Crypt Lord
    • (Unit-type of (Entering unit)) Equal to Lich
    • (Unit-type of (Entering unit)) Equal to Dreadlord
This will return true if a unit is EITHER a necromancer, naga sea witch, death knight, crypt lord, lich or dreadlord.
 
combine what the two commenters have said to be left with this masterpiece of triggering!

  • Church
    • Events
      • Unit - A unit enters Church 001 <gen>
      • Unit - A unit enters Church 002 <gen>
      • Unit - A unit enters Church 003 <gen>
      • Unit - A unit enters Church 004 <gen>
      • Unit - A unit enters Church 005 <gen>
    • Conditions
      • Or - Multiple Conditions
        • (Unit-type of (Entering unit)) Equal to Necromancer
        • (Unit-type of (Entering unit)) Equal to Lady Vashj
        • (Unit-type of (Entering unit)) Equal to Death Knight
        • (Unit-type of (Entering unit)) Equal to Crypt Lord
        • (Unit-type of (Entering unit)) Equal to Lich
        • (Unit-type of (Entering unit)) Equal to Dreadlord
    • Actions
      • Unit - Kill (Entering unit)
      • Game - Display to (All players) the text: Return to the Grave...
 
thank you so much everyone!

Final Trigger:
  • Church0
    • Events
      • Unit - A unit enters Church 000 <gen>
      • Unit - A unit enters Church 002 <gen>
      • Unit - A unit enters Church 003 <gen>
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
      • (Unit-type of (Entering unit)) Equal to Necromancer
      • (Unit-type of (Entering unit)) Equal to Lady Vashj
      • (Unit-type of (Entering unit)) Equal to Death Knight
      • (Unit-type of (Entering unit)) Equal to Crypt Lord
      • (Unit-type of (Entering unit)) Equal to Lich
      • (Unit-type of (Entering unit)) Equal to Dreadlord
    • Actions
      • Unit - Kill (Entering unit)
      • Game - Display to (All players) the text: Return to the Grave...
 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top