BIS fnc inv: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
Line 17: Line 17:
| Returns inventory contents of given vehicle (unit). For vehicles it returns mounted gun and its ammo, '''not''' cargo weapons and ammo.
| Returns inventory contents of given vehicle (unit). For vehicles it returns mounted gun and its ammo, '''not''' cargo weapons and ammo.


| [unit] call [[BIS_fnc_inv]]
|s1=[unit] call [[BIS_fnc_inv]]


|p1= unit: [[Object]] - unit or vehicle
|p1= unit: [[Object]] - unit or vehicle

Revision as of 16:57, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Inventory

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

See also:
BIS fnc invAddBIS fnc invRemoveBIS fnc invCodeToArrayBIS fnc invStringBIS fnc invSlotsBIS fnc invSlotsEmptyBIS fnc invSlotType

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