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

[Trigger] Region Advanced Triggering

Status
Not open for further replies.
Level 9
Joined
Jul 1, 2005
Messages
393
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:
Level 2
Joined
Jun 22, 2007
Messages
10
  • (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.
 
Level 21
Joined
Jan 5, 2005
Messages
3,515
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...
 
Level 9
Joined
Jul 1, 2005
Messages
393
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.
Top