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.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

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)
Example 1:
Example needed
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section