BIS_fnc_removeRespawnInventory

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 0.74
  Effects of this scripting function are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.74

Description

Description:
Remove a respawn inventory added by BIS_fnc_addRespawnInventory.

Syntax

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

Examples

Example 1:
[west, 1] call BIS_fnc_removeRespawnInventory;
Example 2:
myRespawnInventory = [missionNamespace,"ATSniper"] call BIS_fnc_addRespawnInventory; myRespawnInventory call BIS_fnc_removeRespawnInventory;

Additional Information

Execution:
call
Multiplayer:
-
See also:
BIS_fnc_addRespawnInventoryBIS_fnc_getRespawnInventoriesArma 3 Respawn

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section

Posted on July 1, 2016 - 12:48 (UTC)
Krzmbrzl00
(ArmA 1.60)
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
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;