Skip to content

Loadout Saving and Respawn

AdamWaldie edited this page Jan 17, 2023 · 3 revisions

Associated Files: initPlayerLocal.sqf

General Setup

Loadout saving is automatically set up as soon as the pack is merged into your mission folder.

Radio channels,

By default, upon dying, you will respawn with the loadout that you started with or saved manually via a starter crate.

Respawn With Death Loadout

To respawn with what you died with, you can uncomment the noted section in the initPlayerLocal.sqf.

This is all you need to do.

IPL

Manual Loadout saving

Players can manually save their loadout at any starter crate, or the mission maker could use one of the below implementations to save player loadouts:

Addaction Implementation for use on an object:

this addAction ["<t color='#00FF00'>Save Respawn Loadout</t>", Waldo_fnc_SaveLoadout];

Direct function call, which could be used from a trigger:

[] call Waldo_fnc_SaveLoadout;

Potential Conflicts

ACE Respawn can conflict with this feature, so you should disable it in server settings.

You can disable ACE 3 Respawn in server & Mission Addon Settings (Settings --> Addon Settings --> ACE Respawn).

Clone this wiki locally