-
Notifications
You must be signed in to change notification settings - Fork 3
Home
tuntematonjr edited this page Mar 19, 2021
·
9 revisions
Atributes -> Multiplayer -> Respawn = Respawn on Custom Position and uncheck all options.
- Tun_Respawn_Module_waitingarea
- Tun_Respawn_Module_Respawn_point
respawn = "Base";
Respawndelay = 999;
DisabledAi = 1;
-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