Page 2 of 2

Re: Controlling which quest fields are serialized

Posted: Fri Jul 04, 2025 6:59 pm
by effalumper
Hi again,

My apologies, my bad (again). I had copied some code from the asset to write the fields, but the code in question was intended to write the whole object... I adjusted it to filter out the unneeded fields, so it ended up writing:

Code: Select all

Item["find_shelter"]={CompletedTaskCount=0, }; 
I hadn't noticed it was effectively obliterating the object (I'm not really used to Lua, but still it should have been clear :) ). Anyway, I've adjusted it accordingly so it just writes individual fields, and I think it's all good now. Thanks again for your excellent support. Kind regards,

Andy

Re: Controlling which quest fields are serialized

Posted: Fri Jul 04, 2025 8:56 pm
by Tony Li
Happy to help! I'm glad it's working now.