BIS_fnc_removeRespawnInventory

From Bohemia Interactive Community
Revision as of 20:58, 27 July 2019 by Lou Montana (talk | contribs) (Fix page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Introduced with Arma 3 version 1.601.60
Effects of this scripting function are broadcasted over the network and happen on every computer in the network
Hover & click on the images for descriptions

Description

Description:
Remove a respawn inventory added by BIS_fnc_addRespawnInventory.

Syntax

Syntax:
[target, id] call BIS_fnc_removeRespawnInventory;
Parameters:
target: Namespace, Side, Group or Object
id: Number
Return Value:
Boolean

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

Execution:
call
See also:
Arma 3 RespawnBIS_fnc_addRespawnInventoryBIS_fnc_getRespawnInventoriesBIS_fnc_setRespawnInventory

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section

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.