selectThrowable
- Arma 3 v2.18
Command · also in Unit Inventory · Markdown · JSON · original wiki page
Description
Selects current throwable, which will be launched if the user presses G.
Syntax
unit selectThrowable throwable
Parameters:
unit: Objectthrowable: String - either the name of the throwable magazine or the name of the throwable muzzle
Returns: Boolean - true on success
Examples
Example 1
player selectThrowable "SmokeShellGreen";
Example 2
player selectThrowable "SmokeShellGreenMuzzle";
See also
throwables · isThrowable · currentThrowable · selectWeapon · currentWeapon · currentMagazine · currentMuzzle · BIS_fnc_isThrowable