throwables

From Bohemia Interactive Community
Revision as of 11:41, 13 April 2024 by Killzone Kid (talk | contribs)
Jump to navigation Jump to search

{{RV|type=command

|game1= arma3 |version1= 2.18 |branch= dev

|gr1= Weapons

|gr2= Unit Inventory

|descr= Returns all throwables in unit inventory in currentThrowable format.

|s1= throwables unit

|p1= unit: Object

|r1= Array - array of throwables in format [[magazineName, muzzleName, id], ...], where:

|x1=

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]] ] */

|seealso= selectThrowable currentThrowable isThrowable selectWeapon currentWeapon currentMagazine currentMuzzle BIS_fnc_isThrowable }}