Common Serialization (Saving) Pitfalls

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
minmay
Posts: 2656
Joined: Mon Sep 23, 2013 2:24 am

Re: Common Serialization (Saving) Pitfalls

Post by minmay » Sat Sep 24, 2016 8:07 pm

Yes. It would be quite difficult to use ScriptComponent usefully if functions could not be saved and loaded.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.

User avatar
AndakRainor
Posts: 673
Joined: Thu Nov 20, 2014 5:18 pm

Re: Common Serialization (Saving) Pitfalls

Post by AndakRainor » Sat Sep 24, 2016 8:15 pm

Makes sens. I feared it could be somehow excluded from saved games and reloaded directly from the dat file (without overwriting other variables from the script... I have strange ideas sometimes).

Post Reply