Just an FYI, by default, conditions are considered under "and". Also to properly use an "and", "or", "not", etc, both conditions would need to be underneath the "and". Since "and" is the default, your version still works. Just good to know if you ever decide to use one of the other types.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey Guys,
my Wave start, event: triggers fires multiple times if more than one unit die the same time.
I dont find an option to sort that only the last unit triggers the event cause the unit spawn is in an other trigger.
hope i can get some help
and thanks for it.
Could add all units in the wave to a unit group and then periodically check if the unit group is >0 alive.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
In reply to DrSuperEvil:
How do I check if 0 alive
I only know the action unit group is dead and this does not match the right way
EDIT: I found it but even if more than one unit die the same time the trigger fires multiple times.
I guess I got it.
If some one has the same issue here is my solution
Conditions:
(Number of Living units in Unit Group Attacker) == 0
And
(Triggering unit) == (Unit 1 from Unit Group Attacker)
Just an FYI, by default, conditions are considered under "and". Also to properly use an "and", "or", "not", etc, both conditions would need to be underneath the "and". Since "and" is the default, your version still works. Just good to know if you ever decide to use one of the other types.