Hey guys,
I'm trying to use Heros Survive mod (https://forums.bistudio.com/forums/topic/191553-heros-survive/ ) with ALiVE and I would like to know how can I save the parameters with persistence using the ability to store an retrieve custom local variables with ALiVE:
If I run, for example, "["Her_L_Thirst",_value] call ALiVE_fnc_ProfileNameSpaceSave;" will it save Heros thirst values into ALiVE?
and then place this in the init.sqf:
_thirstStarted = "Her_L_Thirst" call ALiVE_fnc_ProfileNameSpaceLoad;
if (isnil "_thirstStarted" || {!_scriptStarted}) then {
// start script
["Her_L_Thirst", true] call ALiVE_fnc_ProfileNameSpaceSave;
};
to retrieve the value upon mission start will it work?
Any help is appreciated ...
Cheers