Wintermute Engine > Won't implement

Pause Game, when Saving or Loading

(1/2) > >>

redfox:
I would very much lke to simply pause the game when a save is being made or a file loaded. I've tried using the exisiting Exclusive's but they stop the save or load themselves. Could the be a Pause which still allows save load features to continue, but freezes actors, particles, sounds and running scripts that arn't labeled not to pause?

Mnemonic:

--- Quote from: redfox on November 09, 2007, 02:17:52 PM ---I've tried using the exisiting Exclusive's but they stop the save or load themselves.

--- End quote ---
I don't know what you mean. WME Demo, for example, uses system exclusive menus which pause the game and allow you to save/load game.

redfox:
Ah, I must be doing something wrong... the game just freezes and doesn't save when I use Exclusive's as based on the demo menu.

redfox:
My main issue is that I have a scene for my menu background. I dont want to pause sound or actors or particles when visiting the menu, only when the save button is clicked. tSuch a button is in an overlaid window. But if I use a go Exclusive on the button, the entire games freezes and there is no save game?

This is why I request a way to pause the game (sound, actors, scripts etc) when saving, but not stop the save itself.

Mnemonic:
Try this: Make an empty window and add something like this to its script:

this.GoSystemExclusive();
Game.SaveGame(...);
this.Close();

When you click the save button, just load the above window. It will go to sys-ex mode, save the game, and close itself (ending the exclusive mode).

Untested, but it should work.

Navigation

[0] Message Index

[#] Next page

Go to full version