{"name":"BIS_fnc_setRespawnInventory","operator":null,"title":"BIS fnc setRespawnInventory","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_setRespawnInventory","revid":349247,"updated":"2023-11-08T14:51:00Z","groups":["Respawn"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.60"}],"since":{"game":"arma3","name":"Arma 3","version":"1.60"},"arma3_since":"1.60","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Set respawn loadouts.","syntaxes":[{"syntax":"[target, inventory] call BIS_fnc_setRespawnInventory","since":null,"effect":null,"exec":null,"params":[{"name":"target","type":"Namespace, Side, Group or Object","optional":false,"default":null,"description":"target where respawn inventories should be saved","types":["Namespace","Side","Group","Object"],"since":null,"text":"target: Namespace, Side, Group or Object - target where respawn inventories should be saved"},{"name":"inventory","type":"Array of Strings","optional":false,"default":null,"description":"classes from CfgInventory or CfgVehicles","types":["Array","String"],"since":null,"text":"inventory: Array of Strings - classes from CfgInventory or CfgVehicles"}],"returns":{"type":"Array","types":["Array"],"description":"in format [target, id] used in BIS_fnc_removeRespawnInventory","text":"Array - in format [target, id] used in BIS_fnc_removeRespawnInventory"}}],"examples":[{"text":"```sqf\n[player, [\"B_T_Recon_TL_F\"]] call BIS_fnc_setRespawnInventory;\n```","code":["[player, [\"B_T_Recon_TL_F\"]] call BIS_fnc_setRespawnInventory;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Arma 3: Respawn","BIS_fnc_addRespawnInventory","BIS_fnc_removeRespawnInventory","BIS_fnc_getRespawnInventories"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Respawn","Functions","Introduced with Arma 3 version 1.60"],"docblock":null,"filled_from_docblock":[]}