PseudoATC and RANGE

Range: corrected heading
PseudoATC: lots of changes
This commit is contained in:
funkyfranky
2018-04-22 23:55:21 +02:00
parent c2a968d2ef
commit 462564cd01
2 changed files with 212 additions and 74 deletions

View File

@@ -1594,6 +1594,13 @@ function RANGE:_DisplayStrafePits(_unitname)
-- Pit parameters.
local coord=_strafepit.coordinate --Core.Point#COORDINATE
local heading=_strafepit.heading
-- Turn heading around ==> approach heading.
if heading>180 then
heading=heading-180
else
heading=heading+180
end
local mycoord=coord:ToStringA2G(_unit, _settings)
_text=_text..string.format("\n- %s: %s - heading %03d",_strafepit.name, mycoord, heading)