- Joined
- Feb 2, 2012
- Messages
- 1,667
- Reaction score
- 115
- Points
- 78
Hi guys,
I'm trying to do a simple thing with my new module, but I can't do it in the "optimal" way, at least I think.
I want to save the scenario to a desired file of mine everytime the scenario is saved by orbiter.
So basically when I close the simulation and when I press CTRL+S. I can do it manually by putting the call of oapiSaveScenario(...) into clbkVisualDestroyed (it works only there, no way of having a saved scenario in clbkSimulationEnd) and by calling it also in clbkConsumeBufferedKey with ctrl+s, but is there a way to simply tell orbiter api to save scenario to default scn file AND to my file everytime a saving is performed?
thanks guys! :tiphat:
I'm trying to do a simple thing with my new module, but I can't do it in the "optimal" way, at least I think.
I want to save the scenario to a desired file of mine everytime the scenario is saved by orbiter.
So basically when I close the simulation and when I press CTRL+S. I can do it manually by putting the call of oapiSaveScenario(...) into clbkVisualDestroyed (it works only there, no way of having a saved scenario in clbkSimulationEnd) and by calling it also in clbkConsumeBufferedKey with ctrl+s, but is there a way to simply tell orbiter api to save scenario to default scn file AND to my file everytime a saving is performed?
thanks guys! :tiphat: