Question about Updating Mods
Posted: Wed Mar 04, 2015 11:47 pm
I was just wondering what happens when you upgrade a mod to a new version and load a save from the previous version.
I presume that no script_entities are run again, but what happens to objects that have changed in your init.lua script - do these change? If so, are new "onInit" scripts run for objects that are spawned / already spawned? I assume "onInit" is effectively "onSpawn" not "onLoadGame" (for things with previous saves).
Anyway, if someone can give me a rundown here it would be greatly appreciated!
I presume that no script_entities are run again, but what happens to objects that have changed in your init.lua script - do these change? If so, are new "onInit" scripts run for objects that are spawned / already spawned? I assume "onInit" is effectively "onSpawn" not "onLoadGame" (for things with previous saves).
Anyway, if someone can give me a rundown here it would be greatly appreciated!