(info) Other great resources: Official JS API docs, Scripting Forum

eventGameSaving()

triggered when the user saves the game, before the game is saved. allows you to put variables on the global scope ready for saving. the variables can be removed after the game is saved, as denoted by eventGameSaved()

Warzone 3.2+