diff --git a/addons/apollo/functions/fnc_getPlayerInfo.sqf b/addons/apollo/functions/fnc_getPlayerInfo.sqf index 8a65dfcf..daf7dc82 100644 --- a/addons/apollo/functions/fnc_getPlayerInfo.sqf +++ b/addons/apollo/functions/fnc_getPlayerInfo.sqf @@ -26,7 +26,7 @@ if !(_type in ["getTrainingIdentifiers", "getAccessibleItemClasses"]) exitWith { private _playerUID = getPlayerUID _player; -if (_playerUID isEqualTo "_SP_PLAYER_" || {_playerUID isEqualto "_SP_AI_"}) exitWith { +if (_playerUID isEqualTo "_SP_PLAYER_" || {_playerUID isEqualTo "_SP_AI_"}) exitWith { ERROR("getPlayerInfo only works in (locally hosted) MP"); [] }; diff --git a/addons/breaching/functions/fnc_breach.sqf b/addons/breaching/functions/fnc_breach.sqf index 09e2e21f..f65c84a0 100644 --- a/addons/breaching/functions/fnc_breach.sqf +++ b/addons/breaching/functions/fnc_breach.sqf @@ -55,7 +55,7 @@ if (_obstacle isKindOf "House") exitWith { private _position0 = (getPosASL _wire) vectorAdd [0, 0, 0]; private _position1 = _position0 vectorAdd (vectorUp _wire); - private _intersections = [_obstacle, "GEOM"] intersect [ASLtoAGL _position0, ASLtoAGL _position1]; + private _intersections = [_obstacle, "GEOM"] intersect [ASLToAGL _position0, ASLToAGL _position1]; if (_intersections isEqualTo []) exitWith {}; private _door = toLower ((_intersections select 0) select 0); @@ -85,7 +85,7 @@ if (_obstacle isKindOf "House") exitWith { } forEach _animations; }; -private _obstaclePosWorld = ASLtoAGL getPosWorld _obstacle; +private _obstaclePosWorld = ASLToAGL getPosWorld _obstacle; // Terrain wall (won't get destroyed, hide it instead) if (_obstacle in (nearestTerrainObjects [_obstaclePosWorld, ["WALL", "FENCE"], 1])) exitWith { diff --git a/addons/mission/functions/fnc_monitorUnits.sqf b/addons/mission/functions/fnc_monitorUnits.sqf index 57ba91a6..e75c909a 100644 --- a/addons/mission/functions/fnc_monitorUnits.sqf +++ b/addons/mission/functions/fnc_monitorUnits.sqf @@ -24,7 +24,7 @@ switch (_type) do { private _west = (west countSide allUnits) - (west countSide playableUnits); private _east = (east countSide allUnits) - (east countSide playableUnits); private _resistance = (resistance countSide allUnits) - (resistance countSide playableUnits); - private _civilian = (civilian countside allUnits) - (civilian countSide playableUnits); + private _civilian = (civilian countSide allUnits) - (civilian countSide playableUnits); format ["West: %1|East: %2|Indep: %3|Civ: %4|Player: %5|FPS: %6", _west, _east, _resistance , _civilian, count playableUnits, diag_fps] }; case 1: { diff --git a/addons/mission/functions/fnc_reinforcements.sqf b/addons/mission/functions/fnc_reinforcements.sqf index 1c9bfdb8..b999ab7e 100644 --- a/addons/mission/functions/fnc_reinforcements.sqf +++ b/addons/mission/functions/fnc_reinforcements.sqf @@ -47,7 +47,7 @@ if (_groups isEqualType grpNull) then { }; } forEach (units _x); } else { - private _groupName = groupID _x; + private _groupName = groupId _x; private _groupSide = side _x; WARNING_2("Too close to group: %1, on: %2",_groupName,_groupSide); }; diff --git a/addons/mission/functions/fnc_surrender.sqf b/addons/mission/functions/fnc_surrender.sqf index 0b688780..e18c7554 100644 --- a/addons/mission/functions/fnc_surrender.sqf +++ b/addons/mission/functions/fnc_surrender.sqf @@ -35,7 +35,7 @@ _group setVariable [QGVAR(surrenderParams), [_surrenderChance, _minimumDistance, (group _unit getVariable [QGVAR(surrenderParams), 0]) params ["_surrenderChance", "_minimumDistance", "_rallyChance"]; // Distance Check, no point continuing if distance has failed. - private _distanceCheck = (_unit distance2d _shooter) > _minimumDistance; + private _distanceCheck = (_unit distance2D _shooter) > _minimumDistance; if (!_distanceCheck) exitWith {}; // % chance of surrendering and rallying. diff --git a/addons/ratelmarker/functions/fnc_createQRM.sqf b/addons/ratelmarker/functions/fnc_createQRM.sqf index 4b271026..9e81fd5e 100644 --- a/addons/ratelmarker/functions/fnc_createQRM.sqf +++ b/addons/ratelmarker/functions/fnc_createQRM.sqf @@ -18,6 +18,6 @@ params ["_markerPos"]; [ - format ["QRM [%1] (%2)", mapGridPosition _markerPos, [daytime, "HH:MM"] call BIS_fnc_timeToString], + format ["QRM [%1] (%2)", mapGridPosition _markerPos, [dayTime, "HH:MM"] call BIS_fnc_timeToString], _markerPos ] call ACEFUNC(microdagr,deviceAddWaypoint); diff --git a/addons/ratelmarker/functions/fnc_prepareQRM.sqf b/addons/ratelmarker/functions/fnc_prepareQRM.sqf index 41e1dc1d..f2eb1f44 100644 --- a/addons/ratelmarker/functions/fnc_prepareQRM.sqf +++ b/addons/ratelmarker/functions/fnc_prepareQRM.sqf @@ -15,7 +15,7 @@ * Public: No */ -if (GVAR(QuickReferenceMarkerMode) == 0) exitwith {}; +if (GVAR(QuickReferenceMarkerMode) == 0) exitWith {}; private _playerVehicle = vehicle ace_player;