• 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 doesn't work against AI player

Status
Not open for further replies.
Level 31
Joined
May 3, 2008
Messages
3,154
  • Defeat
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Player Group - Pick every player in Player_Group and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (All units of (Units of type Dodger) are dead) Equal to True
            • Then - Actions
              • Trigger - Turn off (This trigger)
              • Sound - Stop music Immediately
              • Countdown Timer - Pause Trap_Timer
              • Cinematic - Turn cinematic mode On for Player_Group
              • Cinematic - Fade out over 3.00 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
              • Wait 5.00 seconds
              • Game - Defeat (Picked player) with the message: Defeat!
            • Else - Actions
For some strange reason, if the owner of last dying unit of type dodger are computer. This trigger would not be execute. Any reason why?
 
  • Defeat
  • Events
  • Time - Every 1.00 seconds of game time
  • Conditions
  • Actions
  • Player - Add (player (1)) to unit group iGroup
  • Player - Add (player (2)) to unit group iGroup
  • Player Group - Pick every player in Player_Group and do (Actions)
  • Loop - Actions
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
  • If - Conditions
  • (All units of (Units of type Dodger) are dead) Equal to True
  • Then - Actions
  • Trigger - Turn off (This trigger)
  • Sound - Stop music Immediately
  • Countdown Timer - Pause Trap_Timer
  • Cinematic - Turn cinematic mode On for Player_Group
  • Cinematic - Fade out over 3.00 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
  • Wait 5.00 seconds
  • Game - Defeat (Picked player) with the message: Defeat!
  • Else - Actions
Try that, meh, i'll take final look when home
 
Status
Not open for further replies.
Top