• 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] Trigger wont run

Status
Not open for further replies.
Level 17
Joined
Apr 24, 2005
Messages
762
  • The Final Battle part 1
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
      • (Number of units in (Units in LeftUndeadBase <gen> owned by Player 3 (Teal))) Equal to 0
    • Actions
      • Game - Display to (All players) the text: LLLLLLLOOOOOOOOOOLL...
Why wont this trigger run?
 
Level 3
Joined
Aug 24, 2007
Messages
33
XxXXxxXX

First off, a trigger than says LOOOOOOOOL!! every second? that's gotta be a bit annoying..lol

I have absolutely no idea what's wrong with it, it look's fine to me.

Maybe another trigger is blocking it?

Or maybe there's a unit owned by teal when the trigger runs
 
Level 17
Joined
Apr 24, 2005
Messages
762
That action is just for testing purposes :p. Anyway i tried "A unit Dies" and the one i have right now, neither work. Im pretty sure there isnt another trigger blocking it and the units were all dead (including buildings)
 
Level 21
Joined
Aug 21, 2005
Messages
3,699
  • Events
    • Unit - a unit dies
  • Conditions
    • Owner of triggering unit is Teal
  • Actions
    • set TempUnitGroup = Units owned by Player 3 (Teal) matching conditions: Matching unit is alive equal to true (boolean)
    • If TempUnitGroup is empty (boolean) then do:
      • Then - actions
        • Game - Display "LOOOOOOL" to all players
      • Else - actions
    • call DestroyGroup (udg_TempUnitGroup)
 
Level 21
Joined
Aug 21, 2005
Messages
3,699
*sigh*

Well can't you just figure out yourself what to do then? Just change
set TempUnitGroup = Units owned by Player 3 (Teal) matching conditions: Matching unit is alive equal to true (boolean)
into
set TempUnitGroup = Units owned by Player 3 (Teal) matching conditions: Matching unit is alive equal to true (boolean) AND Matching unit is in region001

Was it that hard...
 
Status
Not open for further replies.
Top