BIS fnc setRespawnInventory: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (pf)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma 3 |= Game name


|1.00|= Game version
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Set respawn loadouts.|= Description
____________________________________________________________________________________________


Description:
| [target, inventory] call [[BIS_fnc_setRespawnInventory]] |= Syntax
Set respawn loadouts
____________________________________________________________________________________________


Parameter(s):
|p1= input: [[Object]], [[Group]], [[Side]] or [[Namespace]] - Target where respawn inventories should be saved|= Parameter 1
0:
|p2= input: [[Array]] of [[String|strings]] - Classes from CfgInventory or CfgVehicles|= Parameter 2
NAMESPACE
SIDE
GROUP
OBJECT
1: ARRAY of STRINGs - CfgInventory or CfgVehicles classes
 
Returns:
ARRAY in format [target,ids] (used in BIS_fnc_removeRespawnInventory)
*/
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_setRespawnInventory]]; --> |= Syntax
| [[Array]] - in format:
 
*0: target
|p1= |= Parameter 1
*1: ids (used in [[BIS_fnc_removeRespawnInventory]])|= Return value
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>[ [[player]], ["B_T_Recon_TL_F"] ] [[call]] [[BIS_fnc_setRespawnInventory]];</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


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



Revision as of 10:46, 31 May 2018

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_removeRespawnInventory

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