diff --git a/addons/artillerytables/functions/fnc_interactMenuOpened.sqf b/addons/artillerytables/functions/fnc_interactMenuOpened.sqf index 4ba6342fc83..676c8cd8f2f 100644 --- a/addons/artillerytables/functions/fnc_interactMenuOpened.sqf +++ b/addons/artillerytables/functions/fnc_interactMenuOpened.sqf @@ -95,7 +95,6 @@ TRACE_2("searching for new vehicles",_vehicleAdded,_rangeTablesShown); [FUNC(rangeTableOpen), _info] call CBA_fnc_execNextFrame; // delay a frame because of interaction menu closing dialogs }; private _condition = { - //IGNORE_PRIVATE_WARNING ["_player"]; ("ACE_artilleryTable" in (_player call EFUNC(common,uniqueItems))) && {[_player, objNull, ["notOnMap", "isNotSitting", "isNotInside"]] call EFUNC(common,canInteractWith)} }; private _displayName = format ["%1%2", getText (_vehicleCfg >> "displayName"),["","*"] select _advCorrection]; diff --git a/addons/cargo/XEH_postInit.sqf b/addons/cargo/XEH_postInit.sqf index 84597b1c216..2a6875d5441 100644 --- a/addons/cargo/XEH_postInit.sqf +++ b/addons/cargo/XEH_postInit.sqf @@ -76,13 +76,11 @@ GVAR(vehicleAction) = [ QGVAR(openMenu), LLSTRING(openMenu), "", { - //IGNORE_PRIVATE_WARNING ["_target", "_player"]; GVAR(interactionVehicle) = _target; GVAR(interactionParadrop) = false; createDialog QGVAR(menu); }, { - //IGNORE_PRIVATE_WARNING ["_target", "_player"]; GVAR(enable) && {alive _target} && {locked _target < 2} && @@ -96,12 +94,10 @@ GVAR(vehicleAction) = [ GVAR(objectActions) = [ [QGVAR(renameObject), LELSTRING(common,rename), "\a3\Modules_F_Curator\Data\iconMissionName_ca.paa", { - //IGNORE_PRIVATE_WARNING ["_target", "_player"]; GVAR(interactionVehicle) = _target; createDialog QGVAR(renameMenu); }, { - //IGNORE_PRIVATE_WARNING ["_target", "_player"]; GVAR(enable) && {GVAR(enableRename)} && {alive _target} && @@ -127,11 +123,9 @@ GVAR(objectActions) = [ ] call EFUNC(interact_menu,createAction), [QGVAR(load), LLSTRING(loadObject), "a3\ui_f\data\IGUI\Cfg\Actions\loadVehicle_ca.paa", { - //IGNORE_PRIVATE_WARNING ["_target", "_player"]; [_player, _target] call FUNC(startLoadIn); }, { - //IGNORE_PRIVATE_WARNING ["_target", "_player"]; GVAR(enable) && {alive _target} && {locked _target < 2} && diff --git a/addons/cargo/functions/fnc_initVehicle.sqf b/addons/cargo/functions/fnc_initVehicle.sqf index 25cebe5b130..32747a990c1 100644 --- a/addons/cargo/functions/fnc_initVehicle.sqf +++ b/addons/cargo/functions/fnc_initVehicle.sqf @@ -95,7 +95,6 @@ if (_hasCargoConfig) then { // Add the paradrop self interaction for planes and helicopters if (_vehicle isKindOf "Air") then { private _condition = { - //IGNORE_PRIVATE_WARNING ["_target", "_player"]; GVAR(enable) && {[_player, _target, []] call EFUNC(common,canInteractWith)} && { private _turretPath = _target unitTurret _player; @@ -107,7 +106,6 @@ if (_vehicle isKindOf "Air") then { }; private _statement = { - //IGNORE_PRIVATE_WARNING ["_target", "_player"]; GVAR(interactionVehicle) = _target; GVAR(interactionParadrop) = true; createDialog QGVAR(menu); diff --git a/addons/cargo/functions/fnc_onMenuOpen.sqf b/addons/cargo/functions/fnc_onMenuOpen.sqf index f99999aabf9..17c6ef0ae16 100644 --- a/addons/cargo/functions/fnc_onMenuOpen.sqf +++ b/addons/cargo/functions/fnc_onMenuOpen.sqf @@ -80,6 +80,7 @@ if (GVAR(interactionParadrop)) then { _damageStr = ((_damage * 100) toFixed 0) + "%"; if (_itemSize >= 0) then { + //IGNORE_PRIVATE_WARNING ["ace_cargo_interactionParadrop"]; _index = if (GVAR(interactionParadrop)) then { _ctrl lbAdd format ["%1. %2 (%3s)", _forEachIndex + 1, _displayName, GVAR(paradropTimeCoefficent) * _itemSize] } else { diff --git a/addons/common/functions/fnc__handleRequestAllSyncedEvents.sqf b/addons/common/functions/fnc__handleRequestAllSyncedEvents.sqf index 2d8f8be2597..4d016ddaba7 100644 --- a/addons/common/functions/fnc__handleRequestAllSyncedEvents.sqf +++ b/addons/common/functions/fnc__handleRequestAllSyncedEvents.sqf @@ -18,7 +18,6 @@ params ["_client"]; { - //IGNORE_PRIVATE_WARNING ["_x", "_y"]; _y params ["", "_eventlog"]; ["ACEs", [_x, _eventLog], _client] call CBA_fnc_targetEvent; false diff --git a/addons/common/functions/fnc_showHud.sqf b/addons/common/functions/fnc_showHud.sqf index b552b7230af..45020bad84a 100644 --- a/addons/common/functions/fnc_showHud.sqf +++ b/addons/common/functions/fnc_showHud.sqf @@ -52,7 +52,7 @@ if (_reason != "") then { }; private _masks = values GVAR(showHudHash); -private _resultMask = []; +private _resultMask = []; //IGNORE_PRIVATE_WARNING ["_resultMask"]; for "_index" from 0 to 9 do { private _set = true; //Default to true diff --git a/addons/csw/dev/checkStaticWeapons.sqf b/addons/csw/dev/checkStaticWeapons.sqf index 137dc953341..1d798eb9f3e 100644 --- a/addons/csw/dev/checkStaticWeapons.sqf +++ b/addons/csw/dev/checkStaticWeapons.sqf @@ -68,7 +68,6 @@ private _logAll = false; // logs all possible weapon magazines (even if not used } forEach _staticWeaponConfigs; { - //IGNORE_PRIVATE_WARNING ["_x", "_y"]; INFO_2("[%1] has no carry variant - Used in %2",_x,_y); } forEach _hash; diff --git a/addons/csw/functions/fnc_getUnloadActions.sqf b/addons/csw/functions/fnc_getUnloadActions.sqf index 1c7b629ebcc..03f99cd65de 100644 --- a/addons/csw/functions/fnc_getUnloadActions.sqf +++ b/addons/csw/functions/fnc_getUnloadActions.sqf @@ -32,7 +32,6 @@ private _statement = { TIME_PROGRESSBAR(_timeToUnload), [_target, _turretPath, _player, _carryMag, _vehMag], { - //IGNORE_PRIVATE_WARNING ["_player"]; (_this select 0) params ["_target", "_turretPath", "", "_carryMag", "_vehMag"]; TRACE_5("unload progressBar finish",_target,_turretPath,_carryMag,_vehMag,_player); [QGVAR(removeTurretMag), [_target, _turretPath, _carryMag, _vehMag, _player]] call CBA_fnc_globalEvent; diff --git a/addons/csw/functions/fnc_initVehicle.sqf b/addons/csw/functions/fnc_initVehicle.sqf index 1c4660260fd..3b8d2524ef8 100644 --- a/addons/csw/functions/fnc_initVehicle.sqf +++ b/addons/csw/functions/fnc_initVehicle.sqf @@ -76,7 +76,7 @@ if (hasInterface && {!(_typeOf in GVAR(initializedStaticTypes))}) then { private _ammoActionPath = []; private _magazineLocation = getText (_configOf >> QUOTE(ADDON) >> "magazineLocation"); - private _condition = { //IGNORE_PRIVATE_WARNING ["_target", "_player"]; + private _condition = { // If magazine handling is enabled or weapon assembly/disassembly is enabled we enable ammo handling if ((GVAR(ammoHandling) == 0) && {!([false, true, true, GVAR(defaultAssemblyMode)] select (_target getVariable [QGVAR(assemblyMode), 3]))}) exitWith { false }; [_player, _target, ["isNotSwimming", "isNotSitting"]] call EFUNC(common,canInteractWith) diff --git a/addons/csw/functions/fnc_reload_getLoadableMagazines.sqf b/addons/csw/functions/fnc_reload_getLoadableMagazines.sqf index 861f70350d1..aa49d0284b5 100644 --- a/addons/csw/functions/fnc_reload_getLoadableMagazines.sqf +++ b/addons/csw/functions/fnc_reload_getLoadableMagazines.sqf @@ -59,7 +59,6 @@ private _return = []; { private _weapon = _x; { - //IGNORE_PRIVATE_WARNING ["_x", "_y"]; private _carryMag = _x; private _magSource = _y; private _carryGroup = _magGroupsConfig >> _carryMag; diff --git a/addons/dagr/functions/fnc_menuInit.sqf b/addons/dagr/functions/fnc_menuInit.sqf index b7433b92aae..27936fd5169 100644 --- a/addons/dagr/functions/fnc_menuInit.sqf +++ b/addons/dagr/functions/fnc_menuInit.sqf @@ -382,6 +382,7 @@ GVAR(menuRun) = true; GVAR(digit8) = floor (GVAR(wp3) - GVAR(digit7) * 10 - GVAR(digit6) * 100 - GVAR(digit5) * 1000 - GVAR(digit4) * 10000 - GVAR(digit3) * 100000 - GVAR(digit2) * 1000000 - GVAR(digit1) * 10000000); }; case 4: { + //IGNORE_PRIVATE_WARNING ["ace_dagr_wp4"]; GVAR(digit1) = floor (GVAR(wp4) / 10000000); GVAR(digit2) = floor (GVAR(wp4) / 1000000 - GVAR(digit1) *10); GVAR(digit3) = floor (GVAR(wp4) / 100000 - GVAR(digit2) * 10 - GVAR(digit1) * 100); diff --git a/addons/dogtags/XEH_postInit.sqf b/addons/dogtags/XEH_postInit.sqf index ab4daf6e29e..c072090a60a 100644 --- a/addons/dogtags/XEH_postInit.sqf +++ b/addons/dogtags/XEH_postInit.sqf @@ -89,7 +89,6 @@ if (hasInterface) then { if !(GETEGVAR(medical,enabled,false)) exitWith {}; if (hasInterface) then { - //IGNORE_PRIVATE_WARNING ["_target", "_player"]; private _checkTagAction = [ "ACE_CheckDogtag", format ["%1: %2", LLSTRING(itemName), LLSTRING(checkDogtag)], diff --git a/addons/dogtags/functions/fnc_addDogtagActions.sqf b/addons/dogtags/functions/fnc_addDogtagActions.sqf index 310cbc3f340..9b2f3147b56 100644 --- a/addons/dogtags/functions/fnc_addDogtagActions.sqf +++ b/addons/dogtags/functions/fnc_addDogtagActions.sqf @@ -18,7 +18,6 @@ params ["_player"]; private _fnc_getActions = { - //IGNORE_PRIVATE_WARNING ["_player"]; private _actions = []; private _cfgWeapons = configFile >> "CfgWeapons"; diff --git a/addons/dragging/functions/fnc_setCarryable.sqf b/addons/dragging/functions/fnc_setCarryable.sqf index 757f7baa045..977d88aff88 100644 --- a/addons/dragging/functions/fnc_setCarryable.sqf +++ b/addons/dragging/functions/fnc_setCarryable.sqf @@ -87,7 +87,6 @@ GVAR(initializedClasses_carry) = _initializedClasses; private _icon = [QPATHTOF(UI\icons\box_carry.paa), QPATHTOF(UI\icons\person_carry.paa)] select (_object isKindOf "CAManBase"); -//IGNORE_PRIVATE_WARNING ["_target", "_player"]; private _carryAction = [ QGVAR(carry), LLSTRING(Carry), diff --git a/addons/dragging/functions/fnc_setDraggable.sqf b/addons/dragging/functions/fnc_setDraggable.sqf index ebec7d64267..a568543958e 100644 --- a/addons/dragging/functions/fnc_setDraggable.sqf +++ b/addons/dragging/functions/fnc_setDraggable.sqf @@ -87,7 +87,6 @@ GVAR(initializedClasses) = _initializedClasses; private _icon = [QPATHTOF(UI\icons\box_drag.paa), QPATHTOF(UI\icons\person_drag.paa)] select (_object isKindOf "CAManBase"); -//IGNORE_PRIVATE_WARNING ["_target", "_player"]; private _dragAction = [ QGVAR(drag), LLSTRING(Drag), diff --git a/addons/explosives/functions/fnc_addDetonateActions.sqf b/addons/explosives/functions/fnc_addDetonateActions.sqf index 2e99f2bd4f0..388b2cf7048 100644 --- a/addons/explosives/functions/fnc_addDetonateActions.sqf +++ b/addons/explosives/functions/fnc_addDetonateActions.sqf @@ -157,7 +157,6 @@ if (_detonator != "ACE_DeadManSwitch") then { format [localize LSTRING(connectInventoryExplosiveToDeadman), _name], _picture, { - //IGNORE_PRIVATE_WARNING ["_player"]; params ["_player", "", "_mag"]; TRACE_2("set new",_player,_mag); _player setVariable [QGVAR(deadmanInvExplosive), _mag, true]; diff --git a/addons/explosives/functions/fnc_getPlacedExplosives.sqf b/addons/explosives/functions/fnc_getPlacedExplosives.sqf index 2e6d8840d9a..5b64512439f 100644 --- a/addons/explosives/functions/fnc_getPlacedExplosives.sqf +++ b/addons/explosives/functions/fnc_getPlacedExplosives.sqf @@ -16,7 +16,6 @@ * * Public: Yes */ -//IGNORE_PRIVATE_WARNING ["_allExplosives", "_deadmanExplosives"]; params ["_unit"]; TRACE_1("params",_unit); diff --git a/addons/explosives/functions/fnc_hasPlacedExplosives.sqf b/addons/explosives/functions/fnc_hasPlacedExplosives.sqf index 7838a29e1bc..43dbb38b85f 100644 --- a/addons/explosives/functions/fnc_hasPlacedExplosives.sqf +++ b/addons/explosives/functions/fnc_hasPlacedExplosives.sqf @@ -14,6 +14,5 @@ * * Public: Yes */ -//IGNORE_PRIVATE_WARNING ["getPlacedExplosives"]; (count (_this call FUNC(getPlacedExplosives)) > 0) diff --git a/addons/field_rations/XEH_postInit.sqf b/addons/field_rations/XEH_postInit.sqf index dac701845f4..9fc8406abaf 100644 --- a/addons/field_rations/XEH_postInit.sqf +++ b/addons/field_rations/XEH_postInit.sqf @@ -38,7 +38,6 @@ if !(hasInterface) exitWith {}; [false, false, false, false, true] ] call EFUNC(interact_menu,createAction); - //IGNORE_PRIVATE_WARNING ["_player", "_target"]; private _subActions = [ [ QGVAR(checkWater), diff --git a/addons/field_rations/functions/fnc_getConsumableChildren.sqf b/addons/field_rations/functions/fnc_getConsumableChildren.sqf index 73e75e29a47..9fe422109c0 100644 --- a/addons/field_rations/functions/fnc_getConsumableChildren.sqf +++ b/addons/field_rations/functions/fnc_getConsumableChildren.sqf @@ -18,7 +18,6 @@ params ["_player"]; private _fnc_getActions = { - //IGNORE_PRIVATE_WARNING ["_player"]; TRACE_1("Creating consumable item actions",_player); private _actions = []; diff --git a/addons/finger/functions/fnc_perFrameEH.sqf b/addons/finger/functions/fnc_perFrameEH.sqf index 36acea8a447..a97e75ab687 100644 --- a/addons/finger/functions/fnc_perFrameEH.sqf +++ b/addons/finger/functions/fnc_perFrameEH.sqf @@ -24,7 +24,6 @@ if ((ACE_player != vehicle ACE_player) && {!((vehicle ACE_player) isKindOf "Stat private _iconBaseSize = GVAR(sizeCoef) * BASE_SIZE * 0.10713 * (call EFUNC(common,getZoom)); { - //IGNORE_PRIVATE_WARNING ["_x", "_y"]; _y params ["_lastTime", "_pos", "_name", "_sourceUnit"]; private _timeLeftToShow = _lastTime + FP_TIMEOUT - diag_tickTime; if (_timeLeftToShow <= 0) then { diff --git a/addons/fortify/XEH_postInit.sqf b/addons/fortify/XEH_postInit.sqf index 91ce3b7b877..ed13a116c7f 100644 --- a/addons/fortify/XEH_postInit.sqf +++ b/addons/fortify/XEH_postInit.sqf @@ -50,7 +50,6 @@ GVAR(objectRotationZ) = 0; private _text = [format ["Remove Object +$%1", _cost], "Remove Object"] select (_budget == -1); // Remove object action - //IGNORE_PRIVATE_WARNING ["_player"]; private _removeAction = [ QGVAR(removeObject), _text, diff --git a/addons/interact_menu/functions/fnc_createAction.sqf b/addons/interact_menu/functions/fnc_createAction.sqf index f099ae9fb03..75383950f13 100644 --- a/addons/interact_menu/functions/fnc_createAction.sqf +++ b/addons/interact_menu/functions/fnc_createAction.sqf @@ -26,9 +26,6 @@ * Public: Yes */ -//IGNORE_PRIVATE_WARNING ["_actionName", "_displayName", "_icon", "_statement", "_condition", "_insertChildren"]; -//IGNORE_PRIVATE_WARNING ["_customParams", "_position", "_distance", "_params", "_modifierFunction"]; - if (!hasInterface) exitWith { [] }; params [ "_actionName", diff --git a/addons/interact_menu/functions/fnc_isSubPath.sqf b/addons/interact_menu/functions/fnc_isSubPath.sqf index 5b58b1b1f0b..a967f85f2cd 100644 --- a/addons/interact_menu/functions/fnc_isSubPath.sqf +++ b/addons/interact_menu/functions/fnc_isSubPath.sqf @@ -22,7 +22,6 @@ private _isSubPath = true; if (count _shortPath > count _longPath) exitWith {false}; -//IGNORE_PRIVATE_WARNING ["_i"]; for [{private _i = 0},{_i < count _shortPath},{_i = _i + 1}] do { if ((_longPath select _i) isNotEqualTo (_shortPath select _i)) exitWith { _isSubPath = false; diff --git a/addons/interaction/XEH_postInit.sqf b/addons/interaction/XEH_postInit.sqf index d341c27fd38..2bf3546f591 100644 --- a/addons/interaction/XEH_postInit.sqf +++ b/addons/interaction/XEH_postInit.sqf @@ -172,7 +172,6 @@ GVAR(isOpeningDoor) = false; } forEach ["loadout", "weapon"]; // add "Take _weapon_" action to dropped weapons -//IGNORE_PRIVATE_WARNING ["_target", "_player"]; private _action = [ // action display name will be overwritten in modifier function QGVAR(takeWeapon), "take", "\A3\ui_f\data\igui\cfg\actions\take_ca.paa", diff --git a/addons/interaction/functions/fnc_addPassengersActions.sqf b/addons/interaction/functions/fnc_addPassengersActions.sqf index 4a88485a3f1..50b0d98a21c 100644 --- a/addons/interaction/functions/fnc_addPassengersActions.sqf +++ b/addons/interaction/functions/fnc_addPassengersActions.sqf @@ -41,7 +41,6 @@ private _icon = ""; _icon = QPATHTOEF(captives,UI\handcuff_ca.paa); }; - //IGNORE_PRIVATE_WARNING ["_target"]; _actions pushBack [ [ str _unit, diff --git a/addons/interaction/functions/fnc_addSquadChildren.sqf b/addons/interaction/functions/fnc_addSquadChildren.sqf index a34c2e884c3..39cbb22f2ab 100644 --- a/addons/interaction/functions/fnc_addSquadChildren.sqf +++ b/addons/interaction/functions/fnc_addSquadChildren.sqf @@ -29,7 +29,6 @@ private _fnc_color = { private _units = (units group _player) - [_player]; -//IGNORE_PRIVATE_WARNING ["_target"]; private _subActions = []; _subActions pushBack (["drop", localize "str_a3_endgame_notifications_title_drop", "\a3\ui_f\data\igui\cfg\actions\ico_off_ca.paa", {[_target] joinSilent grpNull}, {true}] call EFUNC(interact_menu,createAction)); diff --git a/addons/laser/XEH_postInit.sqf b/addons/laser/XEH_postInit.sqf index eb4cb247ed7..3e9274f5fb7 100644 --- a/addons/laser/XEH_postInit.sqf +++ b/addons/laser/XEH_postInit.sqf @@ -69,7 +69,6 @@ if (hasInterface) then { _unit setVariable [QGVAR(laserSpotTrackerOn), false]; private _condition = { - //IGNORE_PRIVATE_WARNING ["_target", "_player"]; (_player == driver _target) && {(_target getVariable [QGVAR(laserSpotTrackerOn), false])} && {[_player, _target, []] call EFUNC(common,canInteractWith)} @@ -78,7 +77,6 @@ if (hasInterface) then { [_unit, 1, ["ACE_SelfActions"], _actionOff] call EFUNC(interact_menu,addActionToObject); private _condition = { - //IGNORE_PRIVATE_WARNING ["_target", "_player"]; (_player == driver _target) && {!(_target getVariable [QGVAR(laserSpotTrackerOn), false])} && {[_player, _target, []] call EFUNC(common,canInteractWith)} diff --git a/addons/laser/functions/fnc_dev_drawVisibleLaserTargets.sqf b/addons/laser/functions/fnc_dev_drawVisibleLaserTargets.sqf index 294a0262385..29598710a89 100644 --- a/addons/laser/functions/fnc_dev_drawVisibleLaserTargets.sqf +++ b/addons/laser/functions/fnc_dev_drawVisibleLaserTargets.sqf @@ -43,7 +43,6 @@ private _testSeekerDir = vectorDirVisual _seekerVehicle; // Draw all lasers { - //IGNORE_PRIVATE_WARNING ["_x", "_y]; // TRACE_2("",_x,_y); _y params ["_obj", "_owner", "_laserMethod", "_waveLength", "_laserCode", "_beamSpread"]; diff --git a/addons/laser/functions/fnc_seekerFindLaserSpot.sqf b/addons/laser/functions/fnc_seekerFindLaserSpot.sqf index cf805f7496f..fc6241a451b 100644 --- a/addons/laser/functions/fnc_seekerFindLaserSpot.sqf +++ b/addons/laser/functions/fnc_seekerFindLaserSpot.sqf @@ -178,7 +178,6 @@ if (_spots isNotEqualTo []) then { private _maxOwnerCount = -1; { - //IGNORE_PRIVATE_WARNING ["_x", "_y"]; _y params ["_count", "_owner"]; if (_count > _maxOwnerCount) then { _maxOwnerCount = _count; diff --git a/addons/magazinerepack/functions/fnc_simulateRepackEvents.sqf b/addons/magazinerepack/functions/fnc_simulateRepackEvents.sqf index 4782aba8406..6864726e1ef 100644 --- a/addons/magazinerepack/functions/fnc_simulateRepackEvents.sqf +++ b/addons/magazinerepack/functions/fnc_simulateRepackEvents.sqf @@ -26,7 +26,6 @@ _arrayOfAmmoCounts = +_arrayOfAmmoCounts; _arrayOfAmmoCounts sort true; private _fnc_newMag = { - //IGNORE_PRIVATE_WARNING ["_time", "_events"]; _time = _time + GVAR(TimePerMagazine); _events pushBack [_time, false, +_arrayOfAmmoCounts]; }; diff --git a/addons/marker_flags/XEH_postInit.sqf b/addons/marker_flags/XEH_postInit.sqf index da13925d9cc..19011893cca 100644 --- a/addons/marker_flags/XEH_postInit.sqf +++ b/addons/marker_flags/XEH_postInit.sqf @@ -15,7 +15,6 @@ private _weapons = (call (uiNamespace getVariable [QGVAR(flagItems), {[]}])) app private _icon = getText (_x >> QGVAR(icon)); GVAR(flagCache) set [_name, [_vehicleClass, _displayName, _icon]]; - //IGNORE_PRIVATE_WARNING ["_player", "_target"]; private _action = [ QGVAR(pickup), LLSTRING(ActionPickUp), diff --git a/addons/medical_ai/functions/fnc_addHealingCommandActions.sqf b/addons/medical_ai/functions/fnc_addHealingCommandActions.sqf index 853fdad8582..9228cd3ad51 100644 --- a/addons/medical_ai/functions/fnc_addHealingCommandActions.sqf +++ b/addons/medical_ai/functions/fnc_addHealingCommandActions.sqf @@ -17,7 +17,6 @@ if (!hasInterface) exitWith {}; -//IGNORE_PRIVATE_WARNING ["_player", "_target"]; private _action = [ QGVAR(heal), localize "STR_A3_Task180_name", diff --git a/addons/medical_treatment/XEH_postInit.sqf b/addons/medical_treatment/XEH_postInit.sqf index eda15a4bfcf..63d2f7d0967 100644 --- a/addons/medical_treatment/XEH_postInit.sqf +++ b/addons/medical_treatment/XEH_postInit.sqf @@ -72,7 +72,6 @@ if (["ace_trenches"] call EFUNC(common,isModLoaded)) then { LLSTRING(checkHeadstoneName), QPATHTOEF(medical_gui,ui\grave.paa), { - //IGNORE_PRIVATE_WARNING ["_target"]; [ [_target getVariable QGVAR(headstoneData)], true diff --git a/addons/medical_treatment/functions/fnc_isInMedicalFacility.sqf b/addons/medical_treatment/functions/fnc_isInMedicalFacility.sqf index dfae6782a33..d04c1497bdb 100644 --- a/addons/medical_treatment/functions/fnc_isInMedicalFacility.sqf +++ b/addons/medical_treatment/functions/fnc_isInMedicalFacility.sqf @@ -18,7 +18,6 @@ #define CHECK_OBJECTS(var) ((var) findIf {typeOf _x in GVAR(facilityClasses) || {_x getVariable [QEGVAR(medical,isMedicalFacility), false]}} != -1) params ["_unit"]; -//IGNORE_PRIVATE_WARNING ["_unit"]; private _fnc_check = { private _position = _unit modelToWorldVisual [0, 0, eyePos _unit select 2]; diff --git a/addons/nametags/functions/fnc_onDraw3d.sqf b/addons/nametags/functions/fnc_onDraw3d.sqf index 75a24e528d8..e169eb72692 100644 --- a/addons/nametags/functions/fnc_onDraw3d.sqf +++ b/addons/nametags/functions/fnc_onDraw3d.sqf @@ -78,7 +78,6 @@ if (_enabledTagsCursor) then { if (_enabledTagsNearby) then { // Find valid targets and cache them private _targets = [[], { - //IGNORE_PRIVATE_WARNING ["_camPosAGL", "_maxDistance"]; private _nearMen = _camPosAGL nearObjects ["CAManBase", _maxDistance + 7]; _nearMen = _nearMen select { _x != ACE_player && diff --git a/addons/overheating/XEH_postInit.sqf b/addons/overheating/XEH_postInit.sqf index 223581adb2c..4abe8d93ee5 100644 --- a/addons/overheating/XEH_postInit.sqf +++ b/addons/overheating/XEH_postInit.sqf @@ -103,7 +103,6 @@ if (hasInterface) then { LLSTRING(CoolWeaponWithWaterSource), QPATHTOEF(field_rations,ui\icon_water_tap.paa), { - //IGNORE_PRIVATE_WARNING ["_player", "_target"]; private _waterSource = _target getVariable [QEGVAR(field_rations,waterSource), objNull]; [_player, _waterSource] call FUNC(coolWeaponWithWaterSource); }, diff --git a/addons/overheating/functions/fnc_getConsumableChildren.sqf b/addons/overheating/functions/fnc_getConsumableChildren.sqf index fea6f897f07..025e9a69397 100644 --- a/addons/overheating/functions/fnc_getConsumableChildren.sqf +++ b/addons/overheating/functions/fnc_getConsumableChildren.sqf @@ -19,7 +19,6 @@ params ["_unit"]; private _fnc_getActions = { TRACE_1("Creating overheating consumable item actions",_unit); - //IGNORE_PRIVATE_WARNING ["_unit"]; private _actions = []; private _cfgWeapons = configFile >> "CfgWeapons"; diff --git a/addons/pylons/XEH_postInit.sqf b/addons/pylons/XEH_postInit.sqf index e1bd05cb53c..3acbfe71571 100644 --- a/addons/pylons/XEH_postInit.sqf +++ b/addons/pylons/XEH_postInit.sqf @@ -2,7 +2,6 @@ GVAR(aircraftWithPylons) = []; -//IGNORE_PRIVATE_WARNING ["_player", "_target"]; GVAR(loadoutAction) = [ // create action QGVAR(loadoutAction), localize LSTRING(ConfigurePylons), diff --git a/addons/quickmount/functions/fnc_addFreeSeatsActions.sqf b/addons/quickmount/functions/fnc_addFreeSeatsActions.sqf index af698510648..efb40d2ac1a 100644 --- a/addons/quickmount/functions/fnc_addFreeSeatsActions.sqf +++ b/addons/quickmount/functions/fnc_addFreeSeatsActions.sqf @@ -58,7 +58,6 @@ ) #define MOVE_IN_CODE(command) (_this select 0) command (_this select 1) -//IGNORE_PRIVATE_WARNING ["_player", "_target"]; private _fnc_move = { (_this select 2) params ["_moveInCode", "_moveInParams", "_currentTurret", "_moveBackCode", "_moveBackParams"]; diff --git a/addons/refuel/XEH_postInit.sqf b/addons/refuel/XEH_postInit.sqf index 4edd18de148..d007266e5ff 100644 --- a/addons/refuel/XEH_postInit.sqf +++ b/addons/refuel/XEH_postInit.sqf @@ -66,7 +66,6 @@ ["MouseButtonDown", LINKFUNC(onMouseButtonDown)] call CBA_fnc_addDisplayHandler; - //IGNORE_PRIVATE_WARNING ["_player", "_target"]; GVAR(mainAction) = [ QGVAR(Refuel), localize LSTRING(Refuel), diff --git a/addons/refuel/functions/fnc_makeJerryCan.sqf b/addons/refuel/functions/fnc_makeJerryCan.sqf index 29b5dd98fcd..31a91a30d7b 100644 --- a/addons/refuel/functions/fnc_makeJerryCan.sqf +++ b/addons/refuel/functions/fnc_makeJerryCan.sqf @@ -38,8 +38,6 @@ if (isServer) then { [QGVAR(jerryCanInitalized), [_target]] call CBA_fnc_globalevent; }; -//IGNORE_PRIVATE_WARNING ["_player", "_target"]; - // Main Action private _action = [QGVAR(Refuel), localize LSTRING(Refuel), diff --git a/addons/repair/functions/fnc_isInRepairFacility.sqf b/addons/repair/functions/fnc_isInRepairFacility.sqf index 74d94c5e75a..51cc5424bbd 100644 --- a/addons/repair/functions/fnc_isInRepairFacility.sqf +++ b/addons/repair/functions/fnc_isInRepairFacility.sqf @@ -33,7 +33,6 @@ private _checkObject = { }; private _fnc_check = { - //IGNORE_PRIVATE_WARNING ["_unit", "_checkObject", "_x"]; private _position = _unit modelToWorldVisual [0, 0, eyePos _unit select 2]; CHECK_OBJECTS(lineIntersectsWith [ARR_3(_position,_position vectorAdd [ARR_3(0,0,10)],_unit)]) || {CHECK_OBJECTS(_unit nearObjects 7.5)} diff --git a/addons/repair/functions/fnc_isNearRepairVehicle.sqf b/addons/repair/functions/fnc_isNearRepairVehicle.sqf index 13b089bdd90..d319273e641 100644 --- a/addons/repair/functions/fnc_isNearRepairVehicle.sqf +++ b/addons/repair/functions/fnc_isNearRepairVehicle.sqf @@ -19,7 +19,6 @@ params ["_unit"]; TRACE_1("params",_unit); -//IGNORE_PRIVATE_WARNING ["_unit"]; private _fnc_check = { private _nearObjects = nearestObjects [_unit, ["Air", "LandVehicle", "Slingload_base_F"], 20]; diff --git a/addons/tagging/functions/fnc_addTagActions.sqf b/addons/tagging/functions/fnc_addTagActions.sqf index 79603487408..9c720e1f6c5 100644 --- a/addons/tagging/functions/fnc_addTagActions.sqf +++ b/addons/tagging/functions/fnc_addTagActions.sqf @@ -19,7 +19,6 @@ params ["_unit"]; private _actions = []; { - //IGNORE_PRIVATE_WARNING ["_player", "_target"]; _actions pushBack [ [ format ["ACE_TagItem_%1", _x], diff --git a/addons/tagging/functions/fnc_checkTaggable.sqf b/addons/tagging/functions/fnc_checkTaggable.sqf index 5f9d162694d..ef20062a32d 100644 --- a/addons/tagging/functions/fnc_checkTaggable.sqf +++ b/addons/tagging/functions/fnc_checkTaggable.sqf @@ -17,7 +17,6 @@ [_this, { params ["_unit"]; - //IGNORE_PRIVATE_WARNING ["_unit"]; // Exit if no required item in inventory if ([_unit, { diff --git a/addons/tagging/functions/fnc_compileTagAction.sqf b/addons/tagging/functions/fnc_compileTagAction.sqf index 3b9e060c5c3..a49de10f47d 100644 --- a/addons/tagging/functions/fnc_compileTagAction.sqf +++ b/addons/tagging/functions/fnc_compileTagAction.sqf @@ -24,7 +24,6 @@ _actions pushBack ([ _displayName, _icon, { - //IGNORE_PRIVATE_WARNING ["_player", "_target"]; (_this select 2) params ["_class", "_textures", "_materials", "_tagModel"]; ( diff --git a/addons/vector/functions/fnc_nextMode.sqf b/addons/vector/functions/fnc_nextMode.sqf index f55bbe765bd..7512d8c8928 100644 --- a/addons/vector/functions/fnc_nextMode.sqf +++ b/addons/vector/functions/fnc_nextMode.sqf @@ -37,6 +37,7 @@ switch (_this select 0) do { }; case ("config"): { + //IGNORE_PRIVATE_WARNING ["ace_vector_configTemp"]; GVAR(configTemp) = GVAR(configTemp) + 1; if (GVAR(configTemp) > 2) then {GVAR(configTemp) = 0}; diff --git a/addons/viewdistance/functions/fnc_setFovBasedOvdPFH.sqf b/addons/viewdistance/functions/fnc_setFovBasedOvdPFH.sqf index c08545ca7c8..db5849d6947 100644 --- a/addons/viewdistance/functions/fnc_setFovBasedOvdPFH.sqf +++ b/addons/viewdistance/functions/fnc_setFovBasedOvdPFH.sqf @@ -17,6 +17,7 @@ */ params ["", "_idPFH"]; +// IGNORE_PRIVATE_WARNING["ace_viewdistance_fovBasedPFHminimalViewDistance"]; // Remove PFH and set Object View Distance back to what it was before if (GVAR(objectViewDistanceCoeff) < 6) exitWith { diff --git a/addons/zeus/functions/fnc_bi_moduleArsenal.sqf b/addons/zeus/functions/fnc_bi_moduleArsenal.sqf index 76f723b2dd3..22b7c37db88 100644 --- a/addons/zeus/functions/fnc_bi_moduleArsenal.sqf +++ b/addons/zeus/functions/fnc_bi_moduleArsenal.sqf @@ -19,6 +19,7 @@ */ params ["_logic", "", "_activated"]; +// IGNORE_PRIVATE_WARNING["_error", "_unit"]; if (_activated && local _logic) then { _unit = _logic getVariable ["bis_fnc_curatorAttachObject_object",objNull]; diff --git a/addons/zeus/functions/fnc_bi_moduleCurator.sqf b/addons/zeus/functions/fnc_bi_moduleCurator.sqf index a10807dbe70..69852fe71ff 100644 --- a/addons/zeus/functions/fnc_bi_moduleCurator.sqf +++ b/addons/zeus/functions/fnc_bi_moduleCurator.sqf @@ -20,6 +20,9 @@ */ params ["_logic", "_units", "_activated"]; +// IGNORE_PRIVATE_WARNING["_logic", "_ownerVarArray", "_player", "_addonsList", "_serverCommand", "_isAdmin", "_addons"]; +// IGNORE_PRIVATE_WARNING["_adminVar", "_forced", "_addonsType", "_name", "_forced", "_addonsType", "_letters", "_isCurator"]; +// IGNORE_PRIVATE_WARNING["_ownerUID", "_birdType", "_bird", "_cfgPatches", "_ownerVar", "_paramAddons", "_respawn", "_class"]; if (_activated) then { diff --git a/addons/zeus/functions/fnc_bi_moduleMine.sqf b/addons/zeus/functions/fnc_bi_moduleMine.sqf index 509efa0a1c5..7abbbc4cb6b 100644 --- a/addons/zeus/functions/fnc_bi_moduleMine.sqf +++ b/addons/zeus/functions/fnc_bi_moduleMine.sqf @@ -19,6 +19,7 @@ */ params ["_logic", "_units", "_activated"]; +// IGNORE_PRIVATE_WARNING["_explosive", "_side"]; if (_activated) then { _explosive = getText (configOf _logic >> "explosive"); diff --git a/addons/zeus/functions/fnc_bi_moduleProjectile.sqf b/addons/zeus/functions/fnc_bi_moduleProjectile.sqf index 94771354ba4..a0a81825134 100644 --- a/addons/zeus/functions/fnc_bi_moduleProjectile.sqf +++ b/addons/zeus/functions/fnc_bi_moduleProjectile.sqf @@ -19,6 +19,11 @@ * Public: No */ +// IGNORE_PRIVATE_WARNING["_dir", "_altitude", "_velocity", "_ammo", "_sounds", "_projectile", "_soundSource", "_attach", "_posAmmo"]; +// IGNORE_PRIVATE_WARNING["_shakeStrength", "_sound", "_dirDiff", "_repeat", "_soundSourceClass", "_hint", "_posNew", "_activated"]; +// IGNORE_PRIVATE_WARNING["_side", "_fnc_playRadio", "_delay", "_logic", "_radio", "_pos", "_cfgAmmo", "_shakeRadius"]; +// IGNORE_PRIVATE_WARNING["_units", "_sides", "_simulation"]; + _logic = _this select 0; _units = _this select 1; _activated = _this select 2; diff --git a/addons/zeus/functions/fnc_bi_moduleRemoteControl.sqf b/addons/zeus/functions/fnc_bi_moduleRemoteControl.sqf index dcc546ce3be..89a5ddaaf57 100644 --- a/addons/zeus/functions/fnc_bi_moduleRemoteControl.sqf +++ b/addons/zeus/functions/fnc_bi_moduleRemoteControl.sqf @@ -18,6 +18,9 @@ * Public: No */ +// IGNORE_PRIVATE_WARNING["_logic", "_units", "_activated", "_mouseOver", "_error", "_unit", "_color"]; +// IGNORE_PRIVATE_WARNING["_curator", "_blur", "_vehicle", "_cam", "_camPos", "_rating", "_unitPos", "_vehicleRole"]; + _logic = _this select 0; _units = _this select 1; _activated = _this select 2; diff --git a/addons/zeus/functions/fnc_getModuleDestination.sqf b/addons/zeus/functions/fnc_getModuleDestination.sqf index 763f9b48cac..e18daa2732d 100644 --- a/addons/zeus/functions/fnc_getModuleDestination.sqf +++ b/addons/zeus/functions/fnc_getModuleDestination.sqf @@ -44,7 +44,6 @@ GVAR(moduleDestination_displayEHMouse) = [findDisplay 312, "mouseButtonDown", { if (_mouseButton != 0) exitWith {}; // Only watch for LMB - //IGNORE_PRIVATE_WARNING ["_thisArgs"] _thisArgs params ["_object", "_code"]; // Get mouse position on 2D map or 3D world @@ -67,7 +66,6 @@ GVAR(moduleDestination_displayEHKeyboard) = [findDisplay 312, "KeyDown", { if (_keyCode != 1) exitWith {}; // Only watch for ESC - //IGNORE_PRIVATE_WARNING ["_thisArgs"] _thisArgs params ["_object", "_code"]; // Get mouse position on 2D map or 3D world @@ -88,7 +86,6 @@ GVAR(moduleDestination_displayEHKeyboard) = [findDisplay 312, "KeyDown", { // Add draw EH for the zeus map - draws the 2D icon and line GVAR(moduleDestination_mapDrawEH) = [((findDisplay 312) displayCtrl 50), "draw", { params ["_mapCtrl"]; - //IGNORE_PRIVATE_WARNING ["_thisArgs"] _thisArgs params ["_object", "_text", "_icon", "_color", "_angle"]; private _pos2d = (((findDisplay 312) displayCtrl 50) ctrlMapScreenToWorld getMousePosition);