Jump to content

Search the Community

Showing results for tags 'bearing'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General X-Plane Discussion
    • General Discussion
    • File Library Submissions
    • Help!?!
    • Communal Links
    • Screenshots
    • Videos
    • X-Plane News [Official News]
    • X-Pilot Features
  • Developers
    • Plugin Development
    • UDP Development
    • Aircraft Development
    • Scenery Development
  • Freeware Projects
    • XMidiCtrl
  • Commercial Vendors
    • 4Forces
    • Attitude Simulations
    • Hot Start
    • ITX-Designs (Formerly Icarus)
    • IXEG
    • JGX-Designs
    • JRollon
    • Leading Edge Simulations
    • Maxx-XP
    • PilotEdge
    • RealScenery
    • RealSimGear
    • Real Environment Simulations
    • TOGA Simulations
    • TorqueSim/AFM
    • Uncle Jack Simulations
    • X-Plugins
  • Miscellaneous
    • Hardware
    • Software
  • X-Plane 101
    • I'm New To X-Plane!
    • Best of the Best!
  • Workshop
    • 3D Shop
  • Add-On Reviews
    • Reviews

Categories

  • News
  • Aircraft
  • Scenery
  • Plugins
  • X-Pilot Website
  • Sales & Deals
  • General Information

Categories

  • Aircraft
    • Experimental
    • Fighters
    • General Aviation
    • Gliders
    • Heavy Metal
    • Helicopters
    • Mega-Planes
    • Seaplanes
    • VTOL
    • X-Planes
  • Scenery
    • DSF Scenery Packages
    • Objects
    • Misc Scenery Resources
  • Liveries
    • Business Aviation
    • Experimental
    • Fighters
    • General Aviation
    • Helicopters
    • Heavy Metal
    • Vintage
  • Plugins and Utilities

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hi, I've been watching over these forums for a little while now and have managed to figure out answers to most of my questions from the help on here and my own tinkerings. My latest problem however has me baffled. I am trying to script some custom dataref sources for the implementation of a nav radio that provides a bearing output for the standby frequency. My thinking rightly or wrongly is that I should be able to briefly swap the main and standby nav frequencies in code grab the relative_bearing_deg dataref based on the now swapped frequency info and store in a new custom dataref before reverting the frequencies back to original. what i'm finding is that although a snap shot of the frequencies shows they are swapped at that point in the code, the relative_bearing_deg dataref at the same point in code still reports the bearing for the original main frequency and not the frequency that is now swapped into the main location. What am I missing here? The code at the point of setting the standby bearing dataref is shown below. Before and after this code (not shown) are functions to swap the main and standby frequencies. The functions are independently called in order directly from main. local test_relative_bearing_deg = xp.getDataref("sim/cockpit2/radios/indicators/nav1_relative_bearing_deg") local test_stby_bearing = xp.getFloat(test_relative_bearing_deg) xp.setFloat(test4, test_stby_bearing) I'm new to gizmo and x-plane so hopefully its just something basic that i'm overlooking.
×
×
  • Create New...