BIS fnc invSlots: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
||
Line 17: | Line 17: | ||
|descr=Returns config inventory slots of given unit (total numbers of available slots in array). | |descr=Returns config inventory slots of given unit (total numbers of available slots in array). | ||
|s1=[object] call [[BIS_fnc_invSlots]] | |s1= [object] call [[BIS_fnc_invSlots]] | ||
|p1=object: [[Object]] | |p1=object: [[Object]] |
Revision as of 23:12, 12 July 2022
Description
- Description:
- Returns config inventory slots of given unit (total numbers of available slots in array).
- Execution:
- call
- Groups:
- Inventory
Syntax
- Syntax:
- [object] call BIS_fnc_invSlots
- Parameters:
- object: Object
- Return Value:
- Array - Array with total available slots of all types that are given by config
Examples
- Example 1:
Additional Information
- See also:
- BIS_fnc_invRemove BIS_fnc_invCodeToArray BIS_fnc_invString BIS_fnc_invSlotsEmpty BIS_fnc_invSlotType BIS_fnc_invAdd
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