BIS_fnc_getVirtualItemCargo

From Bohemia Interactive Community
Revision as of 16:02, 29 May 2015 by Moerderhoschi (talk | contribs) (added 2 examples and added links to "see also" category)
Jump to navigation Jump to search


Hover & click on the images for description

Description

Description:
/*

	Description:
	Get virtual items to an object (e.g., ammo box).
	Virtual items can be selected in the Arsenal.

	Parameter(s):
		0: OBJECT

	Returns:
	ARRAY of ARRAYs - all virtual items within the object's space in format [<items>,<weapons>,<magazines>,<backpacks>]
*/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:
_box call BIS_fnc_getVirtualItemCargo; // returns the items from the virtualArsenal of the object _box
Example 2:
[_box] call BIS_fnc_getVirtualItemCargo; // same as example 1

Additional Information

See also:
ArsenalBIS_fnc_addVirtualItemCargoBIS_fnc_removeVirtualItemCargo

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

Notes

Bottom Section