BIS fnc setRespawnInventory: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>") |
||
Line 16: | Line 16: | ||
|r1= [[Array]] - in format [target, id] used in [[BIS_fnc_removeRespawnInventory]] | |r1= [[Array]] - in format [target, id] used in [[BIS_fnc_removeRespawnInventory]] | ||
|x1= < | |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]] | |seealso= [[Arma 3: Respawn]] [[BIS_fnc_addRespawnInventory]] [[BIS_fnc_removeRespawnInventory]] [[BIS_fnc_getRespawnInventories]] | ||
}} | }} |
Revision as of 17:00, 13 July 2022
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