mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Use localized side strings
This commit is contained in:
parent
eaeda2667c
commit
8ef6364b59
@ -320,7 +320,7 @@ switch (toLower _mode) do {
|
||||
_cachedSides = [];
|
||||
{
|
||||
_grp = group _x;
|
||||
_side = WFSideText side _grp;
|
||||
_side = [side _grp] call BIS_fnc_sideName;
|
||||
|
||||
// Use correct side node
|
||||
if !(_side in _cachedSides) then {
|
||||
|
@ -38,7 +38,7 @@ if (GVAR(camMode) == 0) then {
|
||||
_speed = format ["%1 m/s", floor(GVAR(camSpeed) * 100) * 0.01];
|
||||
} else {
|
||||
_vision = format ["%1 m", floor(getPosASL GVAR(camUnit) select 2)];
|
||||
_fov = WFSideText (group GVAR(camUnit));
|
||||
_fov = [side group GVAR(camUnit)] call BIS_fnc_sideName;
|
||||
_speed = format ["%1 km/h", floor(speed GVAR(camUnit)) max 0];
|
||||
};
|
||||
|
||||
|
@ -47,7 +47,7 @@ if (_newMode == 0) then { // Free
|
||||
// Preserve camUnit value for consistency when manually changing view
|
||||
GVAR(camera) cameraEffect ["internal", "back"];
|
||||
|
||||
// Switch to player to stop AI group chat
|
||||
// Switch to camera to stop AI group chat
|
||||
GVAR(camera) switchCamera "internal";
|
||||
clearRadio;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user