BIS fnc getVirtualItemCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(added 2 examples and added links to "see also" category)
Line 31: Line 31:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>_box call BIS_fnc_getVirtualItemCargo; // returns the items from the virtualArsenal of the object _box</code>  |= Example 1
 
|x2= <code>[_box] call BIS_fnc_getVirtualItemCargo; // same as example 1</code> |= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[Arsenal]], [[BIS_fnc_addVirtualItemCargo]], [[BIS_fnc_removeVirtualItemCargo]] |= See also


}}
}}

Revision as of 16:02, 29 May 2015


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