BIS fnc setRespawnInventory: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.60 | |1.60 | ||
|gr1= Respawn | |gr1= Respawn | ||
| Set respawn loadouts. | | Set respawn loadouts. | ||
| [target, inventory] call [[BIS_fnc_setRespawnInventory]] | | [target, inventory] call [[BIS_fnc_setRespawnInventory]] | ||
|p1= target: [[Namespace]], [[Side]], [[Group]] or [[Object]] - Target where respawn inventories should be saved | |p1= target: [[Namespace]], [[Side]], [[Group]] or [[Object]] - Target where respawn inventories should be saved | ||
|p2= inventory: [[Array]] of [[String|strings]] - Classes from CfgInventory or CfgVehicles | |p2= inventory: [[Array]] of [[String|strings]] - Classes from CfgInventory or CfgVehicles | ||
| [[Array]] - in format [target, id] used in [[BIS_fnc_removeRespawnInventory]] | | [[Array]] - in format [target, id] used in [[BIS_fnc_removeRespawnInventory]] | ||
|x1= <code><nowiki>[</nowiki>[[player]], ["B_T_Recon_TL_F"]] [[call]] [[BIS_fnc_setRespawnInventory]];</code> | |x1= <code><nowiki>[</nowiki>[[player]], ["B_T_Recon_TL_F"]] [[call]] [[BIS_fnc_setRespawnInventory]];</code> | ||
| [[Arma 3 Respawn]], [[BIS_fnc_addRespawnInventory]], [[BIS_fnc_removeRespawnInventory]], [[BIS_fnc_getRespawnInventories]] | | [[Arma 3 Respawn]], [[BIS_fnc_addRespawnInventory]], [[BIS_fnc_removeRespawnInventory]], [[BIS_fnc_getRespawnInventories]] | ||
}} | }} | ||
Revision as of 23:46, 17 January 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