BIS_fnc_invSlots

From Bohemia Interactive Community
Revision as of 15:52, 25 July 2014 by Str (talk | contribs) (1 revision)
Jump to navigation Jump to search


Hover & click on the images for description

Description

Description:
/*
	File: fn_invSlots.sqf

	Description:
	Returns config inventory slots of given unit (total numbers of available slots in array).
	
	Parameter(s):
	1: <object> unit 
	
	Returns:
	<array> array with total available slots of all types that are given by config
	
	
	Function:
	 input: [player] call BIS_fnc_invSlotsEmpty;
	 partial result - from config (class "USMC_rifleman"):	weaponSlots = "1  +  4  + 12*  256  + 2* 4096  +  2  + 8* 16  + 12*131072"
	 output: [1,1,1,8,12,2,0,12]
	  - means: 1 x WeaponSlotPrimary, 1 x WeaponSlotHangun, ... , 12 x WeaponSlotInventory

*/

(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