BIS fnc setRespawnInventory: Difference between revisions
Jump to navigation
Jump to search
m (see also) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Set respawn loadouts.|= | | Set respawn loadouts.|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [target, inventory] call [[BIS_fnc_setRespawnInventory]] |= | | [target, inventory] call [[BIS_fnc_setRespawnInventory]] |SYNTAX= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|p1= input: [[Object]], [[Group]], [[Side]] or [[Namespace]] - Target where respawn inventories should be saved|= | |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|= | |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]])|= | *1: ids (used in [[BIS_fnc_removeRespawnInventory]])|RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 25: | Line 25: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[:Category:Function Group: Respawn|Respawn functions]], [[BIS_fnc_removeRespawnInventory]], [[BIS_fnc_addRespawnInventory]] |= | | [[:Category:Function Group: Respawn|Respawn functions]], [[BIS_fnc_removeRespawnInventory]], [[BIS_fnc_addRespawnInventory]] |SEEALSO= | ||
}} | }} | ||
Revision as of 14:33, 7 April 2019
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:
- 0: target
- 1: ids (used in BIS_fnc_removeRespawnInventory)
Examples
- Example 1:
[ player, ["B_T_Recon_TL_F"] ] call BIS_fnc_setRespawnInventory;
Additional Information
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