Osiris/API/SavegameLoaded

From Divinity Engine Wiki
Jump to: navigation, search
Full Definition(s)
  • event SavegameLoaded((INTEGER)_Major, (INTEGER)_Minor', (INTEGER)_Revision, (INTEGER)_Build)
Description

Thrown when a when a savegame gets loaded.

Parameters
  • _Major: the major part of the version number of the game binary that was used to create the savegame.
  • _Minor: the minor part of the version number of the game binary that was used to create the savegame.
  • _Revision: the revision part of the version number of the game binary that was used to create the savegame.
  • _Build: the build part of the version number of the game binary that was used to create the savegame.
Notes
  • As mentioned above, this event gives you the version of the game binary that was used to create the savegame. There is, unfortunately, no way to obtain the version of a mod at this time. However, you can implement such versioning for your own mods very easily. See the link below for more information.
See Also