OnCrash Command

Specifies that, if the user's aircraft crashes, a special subroutine call is made to the specified label, instead of typical Flight Simulator crash handling.

Syntax

OnCrash [GoSub label]

where label is defined by the Label command.

Remarks

If you don't specify a GoSub label, any current OnCrash command is cleared and typical Flight Simulator behavior is restored.

Example

ONCRASH GOSUB subBent

SubBent:

PRINT "You really bent the airplane this time."

RETURN