BIS fnc invRemove: 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 15:52, 25 July 2014


Hover & click on the images for description

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)
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