Player position persisted, but ignored.

  1. 9 years ago

    Hi Everybody,

    We are having a slight issue with player position persistence on our mission.
    It seems that the players position is persisted correctly, but is then ignored. What happen is when a players joins the mission we can see them spawn into their previous position but after a few seconds they are then moved back to the main base/respawn west location.

    Has anybody seen this behavior before or has an idea why this is happening?

    Thanks

    Mission : Modified version of Operation Landlord. (Added many new vehicles, players, combat support arty and trans, ACE modules)
    Mod list : @ALiVE;@AliveServer;@CBA_A3;@ace3;@aceserver;@ctab;@task_force_radio;

  2. Friznit

    Show in context Administrator
    Edited 9 years ago by Friznit

    ACE respawn with gear should have no impact

    respawnTemplates[] = {"MenuPosition"}; will send you to the location you select in the respawn menu, but with respawnOnStart = 0; that should not impact persistent location (in theory). Certainly one to test though.

    You could also try adding waituntil {(player getvariable ["alive_sys_player_playerloaded",false])}; in init.sqf - that will force init to wait until player persistence has fully loaded before running anything else. This can have some unintended side effects if players don't actually have any persistence to load though, so take note of how other scripts react.