[Trigger] Hero Arena Problem

Status
Not open for further replies.
Duh...
It's a double post, but I just can't get the trigger to work!


I tried the following:

Events:
Unit - A unit dies

Conditions:
(Number of units in "Team1Left") Equal to 0 OR (Number of units in "Team2Right") Equal to 0

Actions:
Trigger - Turn on "Next Trigger" (teleport trigger) <gen>

I think the problem is that the trigger is counting dead units also. So is there any trigger which will count living units only for a specified player group?
 
Events:
Unit - A unit Dies

Conditions:
((Matching unit) is dead) Equal to False

Actions:
Trigger - Turn on "Next Trigger" <gen>

I really think that I misunderstood something.
---

Does it now work like I wanted in my first post?
 
Last edited:
Trigger for removing players from Unit Groups:

Events:
Unit - A unit Dies

Conditions:
((Dying unit) is in Team1Left) Equal to True

Actions:
Unit Group - Remove (Dying unit) from Team1Left


Trigger for moving remaining units to the shop zone and end round:

Events:
Unit - A unit Dies

Conditions:
((Number of units in Team1Left) Equal to 0) or ((Number of units in Team2Right) Equal to 0)

Actions:
Unit Group - Pick every unit in Team1Left and do (Unit - Move (Picked unit) instantly to (Center of Shop Zone <gen> ))
Unit Group - Pick every unit in Team1Left and do (Unit - Move (Picked unit) instantly to (Center of Shop Zone <gen> ))

---

It works now?
 
Status
Not open for further replies.
Back
Top