Player persistence not working

  1. 5 years ago

    Hi all! I've had success in getting persistence to work for everything excep player position and gear - both reset to the default. I'm using the War Room, and have enabled persistence on the Data module and Player module. I have the following in my description file:
    -------------------------------------
    respawnOnStart = -1;
    briefing = 1;
    debriefing = 1;
    respawn = 3;
    respawnDelay = 5;
    RespawnDialog = 0;
    -------------------------------------

    In my init file, I have this at the top:

    -------------------------------------
    waituntil {(player getvariable ["alive_sys_player_playerloaded",false])};
    -------------------------------------

    Can anyone help me shed some light on this issue? I'm happy to post my mission, or any logs to assist with resolving!

  2. Edited 5 years ago by DrDetroit

    Don't forget the setting in Alive that spawns player at last position. I think it's in Alive Data module...can't recall at the moment exactly which module. There is a checkbox.

    I'll check my persistence settings when I get home later today. Works flawlessly for me.

    BTW: if you find the checkbox in the module, check that, keep the three files loaded in your mission file, and get rid of the lines you put in the description box. I'm pretty sure that's my setup for persistence, and it works great. Again, if no joy, I'll check my settings later today.

  3. Yup, that's the one, with the pulldown for 'Store Position'. Hmmm...not sure why it's not working for you.

    I can send you one of my ALive missions and you can take it apart to see the files I have and test the persistence. I noticed that I have some settings in my description.ext that triggers the sqf files.

    Anyhow let me know I'll shoot a campaign over. One that me and a few buddies have been 'testing' for the past 30-days or so has no issues with persistence, and I think about 4 in-game campaign days where we save progress where ever we happen to be on the map.