Jump to content
Sign in to follow this  
Guest jpeeters

gear type

Recommended Posts

Guest jpeeters

Hi guys,I'm designing a panel and would like to know the gear type of the active model of the pilot.However I cannot find in the panel sdk how to get this value, the only thing I find are these constants:

// gear types#define GEAR_TYPE_FIXED		 0#define GEAR_TYPE_RETRACTABLE   1#define GEAR_TYPE_SKIDS		 2#define GEAR_TYPE_FLOATS		3#define GEAR_TYPE_SKIS		  4

These constants make me think there should be a way to read them out, bu t I cannot find it between the token vars... Any suggestions?Thxjef

Share this post


Link to post
Share on other sites

Hi,May be these ones work; never tried.(from the Panels SDK, Parameters.doc)(A:IS GEAR RETRACTABLE,bool)(A:IS GEAR SKIS,bool)(A:IS GEAR FLOATS,bool)(A:IS GEAR SKIDS,bool)(A:IS GEAR WHEELS,bool)Is of course XML.Hope it helps,Jan"Beatus Ille Procul Negotiis"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...