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 - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2") |
||
(26 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | | |game1= arma3 | ||
|version1= 1.60 | |||
| | |gr1= Respawn | ||
| | |descr= Set respawn loadouts. | ||
| | |s1= [target, inventory] call [[BIS_fnc_setRespawnInventory]] | ||
| [ | |p1= target: [[Namespace]], [[Side]], [[Group]] or [[Object]] - target where respawn inventories should be saved | ||
| | |p2= inventory: [[Array]] of [[String]]s - classes from CfgInventory or CfgVehicles | ||
| | |r1= [[Array]] - in format [target, id] used in [[BIS_fnc_removeRespawnInventory]] | ||
| [ | |x1= <sqf>[player, ["B_T_Recon_TL_F"]] call BIS_fnc_setRespawnInventory;</sqf> | ||
| | |seealso= [[Arma 3: Respawn]] [[BIS_fnc_addRespawnInventory]] [[BIS_fnc_removeRespawnInventory]] [[BIS_fnc_getRespawnInventories]] | ||
}} | }} | ||
Latest revision as of 15:51, 8 November 2023
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:
Additional Information
- See also:
- Arma 3: Respawn BIS_fnc_addRespawnInventory BIS_fnc_removeRespawnInventory BIS_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