BIS fnc invAdd: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (1 revision)
(No difference)

Revision as of 14:52, 25 July 2014


Hover & click on the images for description

Description

Description:
/*
	File: fn_invAdd.sqf

	Description:
	Adds item to inventory - checks if there is room for it. Checks if add was done by engine.

	Parameter(s):
	1: <object> unit
	2: <string | config class> inventory item (weapon | magazine | other item) - name or class

	Returns:
	<bool> true if successfully added to inventory
	or
	when forcing add - <array> list of removed items (TODO: indicate fail to add)
*/

(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:

Additional Information

See also:
See also needed

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