throwables

From Bohemia Interactive Community
Revision as of 07:27, 21 October 2023 by Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.16 |branch= dev |gr1= Weapons |gr2= Unit Inventory |descr= Returns all throwables in unit inventory in currentThrowable fo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.16.

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

Examples

Example 1:
throwables player; //[[["HandGrenade","HandGrenadeMuzzle",[1e+007,0]],["SmokeShell","SmokeShellMuzzle",[1e+007,0]],["SmokeShellGreen","SmokeShellGreenMuzzle",[1e+007,0]],["Chemlight_green","ChemlightGreenMuzzle",[1e+007,0]],["Chemlight_green","",[1e+007,0]],["HandGrenade","",[1e+007,0]]]

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