The way i'm always using is:
@"vehicle _x == _truck" count (units _group) == count (units _group)
Also should work:
@"_x in _truck" count (units _group) == count (units _group)
Another way:
@"vehicle _x == _x" count (units _group) == 0
But you should use the count in combination with a specific
side aswell, so that the condition can become true, even
if there would be dead soldiers in the group, who were
not detected to be dead by the groupleader. In this case
it could happen that the condition would wait forever, even
if all alive soldiers were already onboard.
So best to use then:
count (units _group) == WEST countSide (units _group)
:note - off course you need to take care about the side
of the group you want to wait for (the example above
deals about a WEST group)
The whole condition in case of a west group would then be:
@"vehicle _x == _truck" count (units _group) == WEST countSide (units _group)
~S~ CD