Open mwpowellhtx opened 4 years ago
They should be variables, not functions. Consider:
private _sectorCount = { (markerPos _x distance _estimatedPos) < KPLIB_logistics_incidentWindow_distance } count _opforSectors;
Sees the curly braces {...} and assumes function. As contrasted with something like this, which is seen correctly as a variable assignment.
{...}
private _sectors = _opforSectors select { (markerPos _x distance _estimatedPos) < KPLIB_logistics_incidentWindow_distance };
They should be variables, not functions. Consider:
Sees the curly braces
{...}
and assumes function. As contrasted with something like this, which is seen correctly as a variable assignment.