OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Gogs on 31 May 2006, 23:50:37
-
Alright guys, second silly question of the day.
I've got a group, and I want to set off a trigger when they are all dead. I tried
(count units groupname)==0 or (count units groupname)<1
But this doesn't seem to work because the group name seems to become null as soon as soon as they are all dead.
Does anyone have any suggestions which to involve naming the group individually? Thanks boys.
-
Try this:
{alive _x} count units groupname == 0Tested few moments ago and it works fine
Klavan
-
Thanks dude. Will test it now.
-
Thats a big fat solve. Thanks very much indeed.