Skip to content
tuntematonjr edited this page Mar 19, 2021 · 9 revisions

In editor.

Atributes -> Multiplayer -> Respawn = Respawn on Custom Position and uncheck all options.

In missin you need following modules

  • Tun_Respawn_Module_waitingarea
  • Tun_Respawn_Module_Respawn_point

In description.ext

respawn = "Base";

Respawndelay = 999;

DisabledAi = 1;

If using gearscript, unit must have defined following variables.

-Tun_Respawn_Role //param/role which define what gear to give unit. If this is missing, script will give error when trying to run _unit setVariable ["Tun_Respawn_Role","SL", true]; // Tun respawn gear variable

-Tun_Respawn_gearPath //Path to gearscript file what will be run on respawn. _unit setVariable ["Tun_Respawn_GearPath","loadouts\VDVDesert.sqf", true]; // Tun respawn gearscript path

At respawn this will call following line [_role, player] call compile preprocessFileLineNumbers _gearScriptPath; so you get 2 params, first one is Tun_Respawn_Role and second is player

Clone this wiki locally