BIS fnc setRespawnInventory: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set respawn loadouts.|= Description
| Set respawn loadouts.|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [target, inventory] call [[BIS_fnc_setRespawnInventory]] |= Syntax
| [target, inventory] call [[BIS_fnc_setRespawnInventory]] |SYNTAX=
____________________________________________________________________________________________
____________________________________________________________________________________________


|p1= input: [[Object]], [[Group]], [[Side]] or [[Namespace]] - Target where respawn inventories should be saved|= Parameter 1
|p1= input: [[Object]], [[Group]], [[Side]] or [[Namespace]] - Target where respawn inventories should be saved|PARAMETER1=
|p2= input: [[Array]] of [[String|strings]] - Classes from CfgInventory or CfgVehicles|= Parameter 2
|p2= input: [[Array]] of [[String|strings]] - Classes from CfgInventory or CfgVehicles|PARAMETER2=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Array]] - in format:
| [[Array]] - in format:
*0: target
*0: target
*1: ids (used in [[BIS_fnc_removeRespawnInventory]])|= Return value
*1: ids (used in [[BIS_fnc_removeRespawnInventory]])|RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 25: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[:Category:Function Group: Respawn|Respawn functions]], [[BIS_fnc_removeRespawnInventory]], [[BIS_fnc_addRespawnInventory]] |= See also
| [[:Category:Function Group: Respawn|Respawn functions]], [[BIS_fnc_removeRespawnInventory]], [[BIS_fnc_addRespawnInventory]] |SEEALSO=
}}
}}



Revision as of 14:33, 7 April 2019

Hover & click on the images for description

Description

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

Syntax

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

Examples

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

Additional Information

See also:
Respawn functionsBIS_fnc_removeRespawnInventoryBIS_fnc_addRespawnInventory

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