Jump to content
The simFlight Network Forums

Recommended Posts

Posted
13 hours ago, pemartin said:

Is there a offset for the flightphase (Like preflight, Taxi, departure, cruising, arriving and landing)?

No - is there a simvar (or anything else) that holds this information?

  • 2 months later...
Posted
4 hours ago, pemartin said:

Is there a documentation for this lvar?

What lvar? Lvars are aircraft specific - check any documentation for the aircraft you are using, or list the available ones.
I asked if there was a simvar available for this - I don't know of any, and couldn't see anything in the Asobo documentation.
If YOU can find where this information is held, then I can look into adding it. I couldn't find anything when I looked before.
As far as I know, this info is only available for AI aircraft with the simvar AI Traffic State, which has the following values:

char states[28][32] = { 
	"STATE_WAIT_FOR_ENGINE_START",			// 0
	"STATE_SLEEP",		// 1
	"STATE_FILE_FLIGHT_PLAN",		// 2
	"STATE_IFR_CLEARANCE",	// 3
	"STATE_PUSH_BACK_BEGIN",	// 4
	"STATE_PUSH_BACK_CONTINUE",	// 5
	"STATE_ENGINE_START",		// 6
	"STATE_PRE_TAXI_FOR_TAKEOFF",	// 7
	"STATE_TAXI_HOLDSHORT",		// 8
	"STATE_TAXI_ONTO_RUNWAY",	// 9
	"STATE_TAKEOFF",	// 10
	"T&G depart",	// 11
	"STATE_ENROUTE_AS_FILED",		// 12
	"STATE_TRAFFIC_PATTERN",		// 13
	"STATE_LANDING",		// 14
	"STATE_LANDING_ROLLOUT",		// 15
	"STATE_GO_AROUND",	// 16
	"STATE_TAXI_TO_PARKING",		// 17
	"STATE_ENGINE_SHUTDOWN",		// 18
	"STATE_SUPPORT_PREFLIGHT",// 19 --> 0
	"STATE_SUPPORT_POSTFLIGHT",// 20 --> 18
	"STATE_FLY_UNTIL_NEXT_EVENT",		// 21 non ATC AI --> 12
	"STATE_TAXI_FOR_TAKEOFF", 		// 22 non ATC AI --> 8
	"STATE_TAXI_TO_REFUEL",			// 23 non ATC AI --> 7
	"STATE_WAIT_FOR_ENGINE_SHUTDOWN",  // 24 non ATC AI --> 18
	"STATE_WAIT_INIT_CONFIRM", // 25 --> 0
	"STATE_SIMPLE_TAKEOFF", // 26 -> 10
	"STATE_SIMPLE_FLIGHT", // 27 -> 12
};

Presumably you are supposed to know the state of the aircraft you are piloting....!
This could be useful for external programs though - you could ask on the Asobo forums about this....

John

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.