Arma 3 Scripting

BIS_fnc_addRespawnInventory

  • Global effect
  • Arma 3 v1.60

Function · Markdown · JSON · original wiki page

Description

Add a respawn inventory for respawn menu.

Available loadouts are defined in CfgRespawnInventory. Or you may use an existing CfgVehicles soldier class as reference.

Syntax

[target, inventoryParams] call BIS_fnc_addRespawnInventory

Parameters:

Returns: Array - format [target, id] used in BIS_fnc_removeRespawnInventory

Examples

Example 1

[west, "WEST1"] call BIS_fnc_addRespawnInventory;

Example 2

private _myRespawnInventory = [missionNamespace, "ATSniper"] call BIS_fnc_addRespawnInventory;

See also

Arma 3: Respawn · BIS_fnc_removeRespawnInventory · BIS_fnc_getRespawnInventories · BIS_fnc_setRespawnInventory