2016-07-26 01:16:03 +00:00
|
|
|
//diag_log format["getSideActiveTasks called, _this: %1", _this];
|
2016-07-24 22:11:44 +00:00
|
|
|
private _side = _this select 0;
|
|
|
|
private _returnValue = [];
|
|
|
|
|
|
|
|
{
|
|
|
|
if (!(_x call BIS_fnc_taskCompleted)) then
|
|
|
|
{
|
2016-07-26 08:23:07 +00:00
|
|
|
[_returnValue, _x] call BIS_fnc_arrayPush;
|
2016-07-24 22:11:44 +00:00
|
|
|
};
|
2016-07-31 15:32:48 +00:00
|
|
|
// getSideTasks does not work on dedicated server for whatever reason
|
|
|
|
//} forEach ([_side] call getSideTasks);
|
|
|
|
} forEach taskIds;
|
2016-07-24 22:11:44 +00:00
|
|
|
|
2016-07-26 01:16:03 +00:00
|
|
|
//diag_log format["getSideActiveTasks returning: %1", _returnValue];
|
2016-07-24 22:11:44 +00:00
|
|
|
_returnValue
|