Why does this trigger not delete every unit for the player when he leaves?

TTR.Cloud

New Member
Reaction score
0
For some reason when a player leaves the game his units do not disappear.

7aa13209eba6cd9c705594e95af48706.png
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
Trigger:
  • Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Actions)
    • Loop - Actions
      • Unit - Remove (Picked unit) from the game


also, it leaks

if oyur lazy you could just add a:

Trigger:
  • Action
    • Custom Script: set bj_wantDestroyGroup=true
    • Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Actions)
      • Loop - Actions
        • Unit - Remove (Picked unit) from the game
 

Accname

2D-Graphics enthusiast
Reaction score
1,464
Its the condition.
(Owner of (Triggering unit)) == (Owner of (Leaving Unit))
There is neither a triggering unit nor a leaving unit.
The event (a player leaves the game) does not involve any units at all.

"Pick all units owned by triggering player and do remove picked unit"
is what you need.
 
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