VESSEL2::clbkSaveState
Jump to navigation
Jump to search
Save the current state of the vessel in a scenario file.
Syntax[edit]
void clbkSaveState(FILEHANDLE scn )
- scn
- File handle to the currently opened scenario file.
Examples[edit]
void MAYFLY::clbkSaveState(FILEHANDLE scn) { SaveDefaultState(scn); if(fRemainingLifeTime > 0.0) { oapiWriteScenario_float(scn, "LIFETIME", fRemainingLifeTime); } }