I am trying to understand the possible returned states from the sequence action in dragscript. I have a few scenarios I’d like to use the IF functionality however I’m unsure what state is returned from the sequence under my scenarios.
Scenario 1: the sequence runs and captures all scheduled subs before a time limit is reached - I assume this returns OK. Is that correct?
Scenario 2: the start of sequence limit (in my case min Altitude) has not been reached - I think this returns Skipped. Is that correct?
Scenario 3: the sequence runs however it reaches a time limit (hour angle to prevent meridian flip in my case) however it does not complete all the scheduled subs. Does this return Skipped or something else?
The timing limits in scenario 2 and 3 are being defined within the sequence - not in the dragscript.
I found reference to this in the Wiki under the sequence constraints section:
“Exit sequence if Target is below this Altitude: If checked, automatically end the sequence if target drops below the given altitude in degrees. If the sequence is running in a DragScript, return to DragScript with an OK result (no error, successful sequence termination,skipped status will be set)”
I don’t really understand what that is saying though as it refers to OK result and also Skipped status.
Any help much appreciated.