Pause event?

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
streb2001
Competent
Competent
Posts: 53
Joined: Sat Aug 16, 2014 12:06 pm

Pause event?

Post 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(){}
Post Reply