summaryrefslogtreecommitdiffstats
path: root/Common/Functions/Common_GetSideTowns.sqf
blob: 211ce4c0340a0559a0a7402653224240a5e01cde (plain)
1
2
3
4
5
6
7
8
9
10
Private ['_sideID','_towns'];

_sideID = (_this) Call GetSideID;
_towns = [];

{
	if ((_x getVariable 'sideID') == _sideID) then {_towns = _towns + [_x]};
} forEach towns;

_towns