mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
*The asterix needs to be shown on distances shown in meters not yards
This commit is contained in:
parent
4430e8a0ee
commit
5195271894
@ -36,10 +36,15 @@ if (GVAR(currentUnit) != 2) then {
|
||||
} else {
|
||||
ctrlSetText [130, Str(Round(GVAR(workingMemory) select 1))];
|
||||
};
|
||||
if (GVAR(currentUnit) == 1) then {
|
||||
ctrlSetText [140, format["*%1", Round((GVAR(workingMemory) select 2) * 1.0936133)]];
|
||||
} else {
|
||||
ctrlSetText [140, Str(Round(GVAR(workingMemory) select 2))];
|
||||
switch (GVAR(currentUnit)) do {
|
||||
case 0: {
|
||||
ctrlSetText [140, format["*%1", Round(GVAR(workingMemory) select 2)]];
|
||||
};
|
||||
case 1: {
|
||||
ctrlSetText [140, Str(Round((GVAR(workingMemory) select 2) * 1.0936133))];
|
||||
};
|
||||
case 2: {
|
||||
ctrlSetText [140, Str(Round(GVAR(workingMemory) select 2))];
|
||||
};
|
||||
};
|
||||
|
||||
[] call FUNC(update_scope_unit);
|
||||
|
@ -35,8 +35,14 @@ if (GVAR(currentUnit) != 2) then {
|
||||
} else {
|
||||
ctrlSetText [330, Str(Round((GVAR(targetSpeed) select GVAR(currentTarget)) * 100) / 100)];
|
||||
};
|
||||
if (GVAR(currentUnit) == 1) then {
|
||||
ctrlSetText [340, format["*%1", Round((GVAR(workingMemory) select 2) * 1.0936133)]];
|
||||
} else {
|
||||
ctrlSetText [340, Str(Round((GVAR(targetRange) select GVAR(currentTarget))))];
|
||||
switch (GVAR(currentUnit)) do {
|
||||
case 0: {
|
||||
ctrlSetText [340, format["*%1", Round((GVAR(targetRange) select GVAR(currentTarget)))]];
|
||||
};
|
||||
case 1: {
|
||||
ctrlSetText [340, Str(Round((GVAR(targetRange) select GVAR(currentTarget)) * 1.0936133))];
|
||||
};
|
||||
case 2: {
|
||||
ctrlSetText [340, Str(Round((GVAR(targetRange) select GVAR(currentTarget))))];
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user