*The asterix needs to be shown on distances shown in meters not yards
This commit is contained in:
ulteq 2015-04-19 11:32:02 +02:00
parent 4430e8a0ee
commit 5195271894
2 changed files with 20 additions and 9 deletions

View File

@ -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);

View File

@ -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))))];
};
};