BIS_fnc_invSlotsEmpty

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

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:
/*
	File: fn_invSlotsEmpty.sqf

	Description:
	Returns empty inventory slots of given unit.
	
	Parameter(s):
	1: <object> unit 
	
	Returns:
	<array> numbers of empty slots
		
	Example:
	 [player] call BIS_fnc_invSlotsEmpty;	 	 
	 -> [1,1,1,8,12,2,0,12] (means: 1 x WeaponSlotPrimary, 1 x WeaponSlotHangun, ... , 12 x WeaponSlotInventory - see BIS_FNC_invCodeToArray for code definition)
*/

(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