BIS_fnc_inv

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 2 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:
Returns inventory contents of given vehicle (unit). For vehicles it returns mounted gun and its ammo, not cargo weapons and ammo.

Syntax

Syntax:
[unit] call BIS_fnc_inv
Parameters:
unit: Object - unit or vehicle
Return Value:
Array of Config - weapons then magazines

Examples

Example 1:
[player] call BIS_fnc_inv;

Additional Information

Execution:
call
Multiplayer:
-
See also:
BIS fnc invAddBIS fnc invRemoveBIS fnc invCodeToArrayBIS fnc invStringBIS fnc invSlotsBIS fnc invSlotsEmptyBIS fnc invSlotType

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