XML: VOR Radial Sign Rules: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
(Created page with "(A:NAV1 RADIAL, degrees) (FS9) and (A:NAV RADIAL:1, degrees) (FSX) can return '''negative''' values. When this happens, add that value to 360 degrees to get the actual Radial...")
 
No edit summary
Line 1: Line 1:
{{Infobox-Applicable-FSVersion
| P3D2 = unknown
| P3D = unknown
| FSXI = true
| FSXA = true
| FSX = true
| FS2004 = true
| FS2002 = false
| FS2000 = unknown
| FS98 = unknown
| XP10 = false
| XP9 = false
}}
(A:NAV1 RADIAL, degrees) (FS9) and (A:NAV RADIAL:1, degrees) (FSX) can return '''negative''' values.
(A:NAV1 RADIAL, degrees) (FS9) and (A:NAV RADIAL:1, degrees) (FSX) can return '''negative''' values.



Revision as of 10:29, 6 July 2014

(A:NAV1 RADIAL, degrees) (FS9) and (A:NAV RADIAL:1, degrees) (FSX) can return negative values.

When this happens, add that value to 360 degrees to get the actual Radial:

(A:NAV2 RADIAL, degrees) 0 <
	 if{ 360 (A:NAV2 RADIAL, degrees) + (>L:VOR2 Radial, degrees) }
	 els{ (A:NAV2 RADIAL, degrees) (>L:VOR2 Radial, degrees) }

In this example, (L:VOR2 Radial, degrees) represents the correct radial.

Applies in FS9 and FSX, NAV1 and NAV2.