TriggerRegisterGroupDeathEvent
not ratedRuns the given trigger every time the entire group is dead. Even if the contents of the group you entered changes, it will still work.
Note that it uses a group object, not a group variable. If you assign the variable in which the group was formerly stored to another group, the trigger will not register the death of the new group.
As an example, this can be used in Tower Defenses to notice when to launch the next wave of units. But it requires that the units are kept in the same group at all times.
Note that it uses a group object, not a group variable. If you assign the variable in which the group was formerly stored to another group, the trigger will not register the death of the new group.
As an example, this can be used in Tower Defenses to notice when to launch the next wave of units. But it requires that the units are kept in the same group at all times.