BIS fnc removeRespawnInventory: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
||
Line 28: | Line 28: | ||
[[Category:{{Name|arma3}}: Functions|{{uc:removeRespawnInventory}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:removeRespawnInventory}}]] | ||
Revision as of 02:04, 2 February 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Respawn
Syntax
- Syntax:
- Syntax needed
- Parameters:
- target: Namespace, Side, Group or Object
- id: Number
- Return Value:
- Return value needed
Examples
- Example 1:
[west, 1] call BIS_fnc_removeRespawnInventory;
- Example 2:
private _myRespawnInventory = [missionNamespace,"ATSniper"] call BIS_fnc_addRespawnInventory; _myRespawnInventory call BIS_fnc_removeRespawnInventory;
Additional Information
- See also:
- See also needed
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
- Posted on July 1, 2016 - 17:29 (UTC)
- Krzmbrzl00
-
To remove all inventories that are currently available you can use the following:
{ [missionNamespace, _x] call BIS_fnc_removeRespawnInventory; } forEach ([missionNamespace, true] call BIS_fnc_getRespawnInventories;
If all available inventories are removed, the default inventory for the current unit (as it would be placed in the editor) will be added automatically.