When it comes to testing in the console vs inside events with randomness... there can be issues. Search the lua sub forum for 'randomseed' and you'll see me and Whicker finding differing results in console\special action vs inside an event at one point, that was in cmano but wouldn't surprise me if holds true still depending on what's being done.
There is no official documented list (that I know of), that said here is the list that I've come up with some investigation.For example if RTB is a "Condition" is there a list of "Conditions" in Command? If so Where?
The first is the .condition possibilities (not to be confused with unitstate - which is more the fuller text of the status field in the gui)
What follows after the comma is the .condition_v associated value (the base state, since .condition has different text depending on context)
Aircraft:
"Airborne", Airborne
"Parked on flight deck", Parked
"Parked in hangar", Parked
"Parked", Parked
"On elevator, enroute to takeoff", TaxyingToTakeOff
"Taxiing to take off", TaxyingToTakeOff
"On elevator, enroute to parking spot", TaxyingToPark
"Taxiing to parking spot", TaxyingToPark
"Taking off", TakingOff
"On final approach", Landing_PreTouchdown
"Completing landing", Landing_PostTouchdown
"Readying", Readying
"Waiting for available taxiway/elevator", HoldingForAvailableTransit
"Waiting for runway to become available", HoldingForAvailableRunway
"In landing queue", HoldingOnLandingQueue
"Returning to base", RTB
"Preparing to launch", PreparingToLaunch
"Manoeuvering to refuel", ManoeuveringToRefuel
"Refuelling", Refuelling
"Offloading fuel", OffloadingFuel
"Deploying Dipping Sonar", DeployingDippingSonar
"Chicken, critically low on fuel", EmergencyLanding
"On elevator, enroute to flight deck", TaxyingToFlightDeck
"Moving to flight deck", TaxyingToFlightDeck
"Executing BVR attack", BVRAttack
"Cranking", BVRCrank
"Dogfight", Dogfight
"Transferring Cargo", TransferringCargo
"Dragging", BVRDrag
Ship or Sub:
"Underway", Underway
"Docked", Docked
"Deployment Underway", DeployingUnderway
"Docking", Docking
"Returning to base", RTB
"Readying", Readying
"Manoeuvering To Refuel", ManoeuveringToRefuel
"Replenishing", Replenishing
"Providing UNREP", ProvidingUNREP
"Recharging Batteries", RechargingBatteries
"SettlingForCargoTransfer", SettlingForCargoTransfer
----
So when it comes to RTB checking it looks like checking .condition_v == 'RTB' is the way to go for testing rtb status cleanly(?).
As for pathing issues after rtb'ing, that's a totally separate problem. lol One thing at a time. [;)]
The rest of what you posted... give me a ~day (about to go sleepytime), I want to flesh out and test something out before replying though.
 
					 
					

