Difference between revisions of "Osiris/API/SavegameLoaded"
From Divinity Engine Wiki
(Documented the SavegameLoaded event) |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
* 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. | * 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 ===== | ===== See Also ===== | ||
− | * [[ | + | * [[Modding:_Versioning|Mod versioning]] |
− | [[Category:Osiris Events]] | + | [[Category:Osiris Events|SavegameLoaded]] |
Latest revision as of 15:16, 19 December 2017
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.