mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
private -> local
This commit is contained in:
parent
0273dd1d4d
commit
7981faad64
@ -100,7 +100,7 @@ call FUNC(determineZoom);
|
|||||||
GVAR(glow) = objNull;
|
GVAR(glow) = objNull;
|
||||||
|
|
||||||
["playerInventoryChanged", {
|
["playerInventoryChanged", {
|
||||||
local _flashlights = [ACE_player] call FUNC(getUnitFlashlights);
|
private _flashlights = [ACE_player] call FUNC(getUnitFlashlights);
|
||||||
if ((GVAR(flashlightInUse) != "") && !(GVAR(flashlightInUse) in _flashlights)) then {
|
if ((GVAR(flashlightInUse) != "") && !(GVAR(flashlightInUse) in _flashlights)) then {
|
||||||
GVAR(flashlightInUse) = "";
|
GVAR(flashlightInUse) = "";
|
||||||
};
|
};
|
||||||
|
@ -28,12 +28,10 @@ if (GVAR(BFT_Enabled) and {(!isNil "ACE_player") and {alive ACE_player}}) then {
|
|||||||
};
|
};
|
||||||
|
|
||||||
{
|
{
|
||||||
local _markerType = [_x] call EFUNC(common,getMarkerType);
|
private _markerType = [_x] call EFUNC(common,getMarkerType);
|
||||||
|
private _colour = format ["Color%1", side _x];
|
||||||
|
|
||||||
|
private _marker = createMarkerLocal [format ["ACE_BFT_%1", _forEachIndex], [(getPos leader _x) select 0, (getPos leader _x) select 1]];
|
||||||
local _colour = format ["Color%1", side _x];
|
|
||||||
|
|
||||||
local _marker = createMarkerLocal [format ["ACE_BFT_%1", _forEachIndex], [(getPos leader _x) select 0, (getPos leader _x) select 1]];
|
|
||||||
_marker setMarkerTypeLocal _markerType;
|
_marker setMarkerTypeLocal _markerType;
|
||||||
_marker setMarkerColorLocal _colour;
|
_marker setMarkerColorLocal _colour;
|
||||||
_marker setMarkerTextLocal (groupID _x);
|
_marker setMarkerTextLocal (groupID _x);
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
params ["_unit"];
|
params ["_unit"];
|
||||||
|
|
||||||
local _flashlights = [];
|
private _flashlights = [];
|
||||||
|
|
||||||
{
|
{
|
||||||
if ((isText (configFile >> "CfgWeapons" >> _x >> "ItemInfo" >> "FlashLight" >> "ACE_Flashlight_Colour")) && !(_x in _flashlights)) then {
|
if ((isText (configFile >> "CfgWeapons" >> _x >> "ItemInfo" >> "FlashLight" >> "ACE_Flashlight_Colour")) && !(_x in _flashlights)) then {
|
||||||
|
Loading…
Reference in New Issue
Block a user