From Bohemia Interactive Community
Hover & click on the images for description
Description
- Description:
- Returns all throwables in unit inventory in currentThrowable format.
- Groups:
- WeaponsUnit Inventory
Syntax
- Syntax:
- throwables unit
- Parameters:
- unit: Object
- Return Value:
- Array - array of throwables in format [[magazineName, muzzleName, id, ammoCount], ...], where:
- Syntax:
- throwables [unit, includeEmpty]
- Parameters:
- unit: Object
- includeEmpty: Boolean (Optional, default: false) - when true returns empty throwables as well.
- Return Value:
- Array - array of throwables in format [[magazineName, muzzleName, id, ammoCount], ...], where:
Examples
- Example 1:
Additional Information
- See also:
- selectThrowable currentThrowable isThrowable selectWeapon currentWeapon currentMagazine currentMuzzle BIS_fnc_isThrowable
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