All Units Owned By Player are Dead Condition Problem

MerrillPhish

Active Member
Reaction score
10
Player Dies
Events
Unit - A unit Dies
Conditions
(Number of units in (Units in (Playable map area) owned by (Owner of (Dying unit)))) Less than or equal to 0
Actions
Leaderboard - Change the label for (Owner of (Dying unit)) in (Last created leaderboard) to ***Dead***
Game - Display to (All players) the text: ((Name of (Owner of (Dying unit))) + is dead : ()
Unit Group - Pick every unit in Attack_Group[(Player number of (Owner of (Dying unit)))] and do (Actions)
Loop - Actions
Unit - Explode (Picked unit)

When I use this code and all my units are dead. Nothing happens.
Am I using the wrong condition for this?

I should know this. Seems like a super basic condition.
Just can not figure it out.
 

jnZ

I
Reaction score
64
Trigger:
  • trigger
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • Set temp_group = (Units owned by (Owner of (Triggering unit)) matching (((Matching unit) is alive) Gleich True))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • 'IF'-Conditions
          • (temp_group is empty) Gleich True
        • 'THEN'-Aktionen
          • YOUR ACTIONS
        • 'ELSE'-Actions
      • Custom script: call DestroyGroup (udg_temp_group)
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
613
Remember that dead units are still on the map, and still have their owners.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top