-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Atributes -> Multiplayer -> Respawn = Respawn on Custom Position and uncheck all options.
There is automatic tool to do that.
- tunres_respawn_moduleRespawnPoint
- tunres_respawn_moduleWaitingArea
-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 ["tunres_respawn_Role","SL", true]; // Tun respawn gear variable
-Tun_Respawn_gearPath //Path to gearscript file what will be run on respawn.
_unit setVariable ["tunres_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. First one can be used to give params you need.