selectThrowable: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.16 |branch= dev |gr1= Weapons |gr2= Unit Inventory |descr= Selects current throwable, which will be lau...") |
Killzone Kid (talk | contribs) No edit summary |
||
Line 21: | Line 21: | ||
|x2= <sqf>player selectThrowable "SmokeShellGreenMuzzle";</sqf> | |x2= <sqf>player selectThrowable "SmokeShellGreenMuzzle";</sqf> | ||
|seealso= [[currentThrowable]] [[currentWeapon]] [[currentMagazine]] [[currentMuzzle]] [[BIS_fnc_isThrowable]] | |seealso= [[selectWeapon]] [[currentThrowable]] [[currentWeapon]] [[currentMagazine]] [[currentMuzzle]] [[BIS_fnc_isThrowable]] | ||
}} | }} |
Revision as of 10:50, 10 October 2023
Description
- Description:
- Selects current throwable, which will be launched if the user presses G.
- Groups:
- WeaponsUnit Inventory
Syntax
- Syntax:
- unit selectThrowable throwable
- Parameters:
- unit: Object
- throwable: String - either the name of the throwable magazine or the name of the throwable muzzle
- Return Value:
- Boolean - true on success
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- selectWeapon currentThrowable 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