fn_childrenComplete.sqf 193 B

12345678910111213
  1. _task = _this;
  2. _children = [_task] call BIS_fnc_taskChildren;
  3. _complete = true;
  4. {
  5. if (!([_x] call BIS_fnc_taskCompleted)) exitWith
  6. {
  7. _complete = false;
  8. };
  9. } forEach _children;
  10. _complete