Page 1 of 1

Pause event?

Posted: Fri Sep 26, 2014 12:13 am
by streb2001
Is there an event handler hook in js called when Oolite is paused and unpaused? I want to silence a sound when paused and v.v.

Thanks.

ed. hmm, no replies so I assume there is no pause event handler. Can I make a formal request for a Game State handler to be added? Something such as:
this.playerWillPauseGame = function(){}

and

this.playerWillResumeGame = function(){}