{"name":"selectThrowable","title":"selectThrowable","type":"command","url":"https://community.bistudio.com/wiki/selectThrowable","revid":369741,"updated":"2024-10-08T15:05:51Z","groups":["Weapons","Unit Inventory"],"status":"ok","games":{"arma3":"2.18"},"since":"arma3 2.18","arma3_since":"2.18","description":"Selects current throwable, which will be launched if the user presses <kbd>G</kbd>.","syntaxes":[{"syntax":"unit selectThrowable throwable","params":[{"name":"unit","type":"Object","type_expr":"Object"},{"name":"throwable","type":"String","description":"either the name of the throwable magazine or the name of the throwable muzzle","type_expr":"String"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true on success"},"form":"binary","left":{"text":"unit"},"right":{"text":"throwable"}}],"examples":[{"code":["player selectThrowable \"SmokeShellGreen\";"]},{"code":["player selectThrowable \"SmokeShellGreenMuzzle\";"]}],"see_also":["throwables","isThrowable","currentThrowable","selectWeapon","currentWeapon","currentMagazine","currentMuzzle","BIS_fnc_isThrowable"]}