How to Store Custom Variables?

  1. 2 months ago

    I'm curious about storing custom defined variables with the following code:

    ["key", _value] call ALiVE_fnc_setData
    _value = ["key"] call ALiVE_fnc_getData

    Assuming I created a variable X whose value is 0 .. do I just replace the "key" for "X"?

  2. Friznit

    Jun 17 Administrator

    Yes

    These are for use with cloud saving to War Room. There are alternative funcs for local saving.

  3. Oh ok ... could elaborate a bit more about the ones for local saving?

  4. Friznit

    Jun 17 Administrator

    http://alivemod.com/wiki/index.php/Persistence#Persistence_Script_Commands

  5. Thank You so much Friznit :)

 

or Sign Up to reply!