Vdauphin / HeartsAndMinds

:heart::brain: 1.24.4 is out! 🎉
http://vdauphin.github.io/HeartsAndMinds/
111 stars 66 forks source link

Save DB functionality question #1453

Closed Sora012 closed 1 year ago

Sora012 commented 1 year ago

I'm writing a script that creates a module and initializes it with the proper variables for it to work, and I would like to know if the SaveDB functionality will save the module when its executed? The module should persist through the game session, but NOT through SaveDB.

If it will be is there a variable I can toggle on the module to exclude it from being saved?

Vdauphin commented 1 year ago

Hello,

SaveDB functionality will save the module when its executed?

No, H&M save only it own variable: https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/fnc/db/save.sqf

Cheers

Sora012 commented 1 year ago

Thank you very much for the information! ❤️