mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
parent
f1ca76669f
commit
a24b095b6a
@ -15,7 +15,7 @@
|
|||||||
"",
|
"",
|
||||||
{[_target] call FUNC(showDialog)},
|
{[_target] call FUNC(showDialog)},
|
||||||
{
|
{
|
||||||
private _vehicles = _target nearObjects ["LandVehicle", GVAR(searchDistance) + 10];
|
private _vehicles = nearestObjects [_target, ["Air", "LandVehicle", "Slingload_base_F", "ReammoBox_F"], GVAR(searchDistance) + 10];
|
||||||
private _filter = ["transportAmmo", QEGVAR(rearm,defaultSupply)] select (["ace_rearm"] call EFUNC(common,isModLoaded));
|
private _filter = ["transportAmmo", QEGVAR(rearm,defaultSupply)] select (["ace_rearm"] call EFUNC(common,isModLoaded));
|
||||||
private _rearmVehicles = {(getNumber (configFile >> "CfgVehicles" >> typeOf _x >> _filter)) > 0} count _vehicles;
|
private _rearmVehicles = {(getNumber (configFile >> "CfgVehicles" >> typeOf _x >> _filter)) > 0} count _vehicles;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user