BIS fnc setRespawnInventory: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= Respawn |GROUP1=")
m (Text replacement - "\[\[Category\:Function Group\: Respawn(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 37: Line 37:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Respawn|{{uc:setRespawnInventory}}]]
 
[[Category:Functions|{{uc:setRespawnInventory}}]]
[[Category:Functions|{{uc:setRespawnInventory}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:setRespawnInventory}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:setRespawnInventory}}]]

Revision as of 13:52, 12 October 2020

Hover & click on the images for description

Description

Description:
Set respawn loadouts.
Execution:
call
Groups:
Respawn

Syntax

Syntax:
[target, inventory] call BIS_fnc_setRespawnInventory
Parameters:
target: Namespace, Side, Group or Object - Target where respawn inventories should be saved
inventory: Array of strings - Classes from CfgInventory or CfgVehicles
Return Value:
Array - in format [target, id] used in BIS_fnc_removeRespawnInventory

Examples

Example 1:
[player, ["B_T_Recon_TL_F"]] call BIS_fnc_setRespawnInventory;

Additional Information

See also:
Arma 3 RespawnBIS_fnc_addRespawnInventoryBIS_fnc_removeRespawnInventoryBIS_fnc_getRespawnInventories

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section