BIS fnc setRespawnInventory: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ") |
Lou Montana (talk | contribs) m (Text replacement - " |r1=[[" to " |r1= [[") |
||
Line 14: | Line 14: | ||
|p2= inventory: [[Array]] of [[String|strings]] - Classes from CfgInventory or CfgVehicles | |p2= inventory: [[Array]] of [[String|strings]] - Classes from CfgInventory or CfgVehicles | ||
|r1=[[Array]] - in format [target, id] used in [[BIS_fnc_removeRespawnInventory]] | |r1= [[Array]] - in format [target, id] used in [[BIS_fnc_removeRespawnInventory]] | ||
|x1= <code>[<nowiki/>[[player]], ["B_T_Recon_TL_F"]] [[call]] [[BIS_fnc_setRespawnInventory]];</code> | |x1= <code>[<nowiki/>[[player]], ["B_T_Recon_TL_F"]] [[call]] [[BIS_fnc_setRespawnInventory]];</code> |
Revision as of 22:28, 7 August 2021
Description
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