BIS_fnc_invRemove

From Bohemia Interactive Community
Revision as of 14:52, 25 July 2014 by Str (talk | contribs) (1 revision)
Jump to navigation Jump to search
Introduced with Arma 2 version 1.001.00
Hover & click on the images for descriptions

Description

Description:
/*
	File: fn_invRemove.sqf

	Description:
	Removes from inventory. Given number of items. Returns actually removed items count.
	
	Parameter(s):
	1: <object> unit
	2: <string | config class> inventory item (weapon | magazine | other item) - name or class
	3: <scalar> how items with given name/class much to remove
	
	Returns:
	<number> number of successfully removed items
	
	Note: 2nd parameter is string that is both weapon and magazine, we handle as weapon (you you want to handle as magazine - handle magazine classname for it)	
*/


(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)

Syntax

Syntax:
Return Value:

Examples

Example:
Example needed

Additional Information

Execution:
call
See also:
See also needed

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section