• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[Trigger] Trigger doesn't work against AI player

Status
Not open for further replies.
Level 31
Joined
May 3, 2008
Messages
3,155
  • 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