mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Public function error messages
This commit is contained in:
parent
78ae59b223
commit
248cdf1f3f
@ -36,7 +36,6 @@ if !(_newMode in GVAR(availableModes)) then {
|
||||
if (GVAR(unitList) isEqualTo []) then {
|
||||
_newMode = 0;
|
||||
_newUnit = objNull;
|
||||
[LSTRING(NoUnits)] call EFUNC(common,displayTextStructured);
|
||||
};
|
||||
|
||||
// Reset gun cam if not internal
|
||||
|
@ -35,7 +35,7 @@ _newModes sort true;
|
||||
|
||||
// Can't become an empty array
|
||||
if (_newModes isEqualTo []) then {
|
||||
[["[ACE Spectator]","Cannot remove all camera modes"]] call EFUNC(common,displayTextStructured);
|
||||
["Cannot remove all camera modes (%1)", QFUNC(updateCameraModes)] call BIS_fnc_error;
|
||||
} else {
|
||||
GVAR(availableModes) = _newModes;
|
||||
};
|
||||
|
@ -43,7 +43,7 @@ _newModes sort true;
|
||||
|
||||
// Can't become an empty array
|
||||
if (_newModes isEqualTo []) then {
|
||||
[["[ACE Spectator]","Cannot remove all vision modes"]] call EFUNC(common,displayTextStructured);
|
||||
["Cannot remove all vision modes (%1)", QFUNC(updateVisionModes)] call BIS_fnc_error;
|
||||
} else {
|
||||
GVAR(availableVisions) = _newModes;
|
||||
};
|
||||
|
@ -81,9 +81,6 @@
|
||||
<Key ID="STR_ACE_Spectator_HelpTitle">
|
||||
<English>Spectator Controls</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Spectator_NoUnits">
|
||||
<English>No units available to spectate, entering free camera.</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Spectator_ViewFree">
|
||||
<English>Free</English>
|
||||
</Key>
|
||||
|
Loading…
Reference in New Issue
Block a user