ALiVE and Heros Survive

  1. 4 weeks ago

    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

  2. 3 weeks ago

    Hey @Riksen! Nice to see you around the forums recently. As far as I’m aware, I can’t think of any examples where someone has attempted to combine Heros Survive and ALiVE with persistence in mind. I definitely can see the appeal.

    Gonna give you a bump here so it doesn’t get pushed too far down though I’m unsure anyone has ever tried to accomplish this.

  3. Thxs Heroes. Hopefully, someone can shed some light into this :)

    Cheers

 

or Sign Up to reply!