inform player on how many are in the squad to be picked up

This commit is contained in:
Eero af Heurlin 2021-06-13 17:00:05 +03:00
parent 542b497578
commit 8c6f0ba5c5

View File

@ -30,7 +30,7 @@ publicVariable "lzCounter";
private _side = side _squad; private _side = side _squad;
private _squadCmdr = (units _squad) select 0; private _squadCmdr = (units _squad) select 0;
private _lzLocationName = text ((nearestLocations [getPos _lzLocation, ["NameCityCapital", "NameCity", "NameVillage"], 1500]) select 0); private _lzLocationName = text ((nearestLocations [getPos _lzLocation, ["NameCityCapital", "NameCity", "NameVillage"], 1500]) select 0);
[[_side, "HQ"], format["%1 is requesting pickup from near %2", groupId _squad, _lzLocationName]] remoteExec ["sideChat", _side]; [[_side, "HQ"], format["%1 is requesting pickup for %2 from near %3", groupId _squad, count units _squad, _lzLocationName]] remoteExec ["sideChat", _side];
private _shortestDesc = format["LZ %1", lzCounter]; private _shortestDesc = format["LZ %1", lzCounter];