Bioz 1 Posted August 12, 2012 Guys I have a question. Is is possible to give a name to an entire group? because i want that a trigger gets activated when the entire group is dead. Thanks Share this post Link to post Share on other sites
kylania 567 Posted August 12, 2012 Leader's init field: myBestGroupEver = group this; Trigger condition: {alive _x} count units myBestGroupEver == 0 Share this post Link to post Share on other sites
Bioz 1 Posted August 12, 2012 What if i have two different groups? Share this post Link to post Share on other sites
kylania 567 Posted August 12, 2012 {alive _x} count units myBestGroupEver + units dontLikeTheseGuys == 0 Share this post Link to post Share on other sites
sander 14 Posted August 13, 2012 As an additional note, putting myBestGroupEver = group this; in the group leader's init is sufficient for a SP mission or an AI controlled group. In a multiplayer mission where there could be multiple playable positions within that same group one needs to add this to the initline of each member of the group. By adding the line in each of the playable units in that group the check will still succeed even if the leader's slot is not picked by any players and is disabled for AI. If only the leader has that line and the slot is not filled in the startup screen the check would not work as intended. Regards, Sander Share this post Link to post Share on other sites