Trigger work for user player only

Septimus

New Member
Reaction score
58
Trigger:
  • Defeat
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • 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
          • Player Group - Pick every player in Player_Group and do (Game - Defeat (Picked player) with the message: Defeat!)
        • Else - Actions


I set that if all unit of type xx is dead, all player would be defeated. For some strange reason, if the last unit type of xxx dead are belong to computer. The defeat would not be execute.
 

wraithseeker

Tired.
Reaction score
122
Shouldn't your condition be

Trigger:
  • Unit Group: Pick every unit in playable map area and do actions matching number of unit of type xx equal to or less then 0
    • // Then you do your stuff here.
 

Septimus

New Member
Reaction score
58
ooops.. now you said, I only remember the right setup should be like this.:p

Trigger:
  • 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
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top