isThrowable: 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= Returns true is the given magazine is a throwable. |s1= isTh...") |
Killzone Kid (talk | contribs) No edit summary |
||
Line 17: | Line 17: | ||
|r1= [[boolean]] - [[true]] if throwable | |r1= [[boolean]] - [[true]] if throwable | ||
|x1= <sqf>isThrowable "HandGrenade"; //true | |x1= <sqf>isThrowable "HandGrenade"; //true</sqf> | ||
|seealso= [[selectThrowable]] [[currentThrowable]] [[throwables]] [[selectWeapon]] [[currentWeapon]] [[currentMagazine]] [[currentMuzzle]] [[BIS_fnc_isThrowable]] | |seealso= [[selectThrowable]] [[currentThrowable]] [[throwables]] [[selectWeapon]] [[currentWeapon]] [[currentMagazine]] [[currentMuzzle]] [[BIS_fnc_isThrowable]] | ||
}} | }} |
Revision as of 07:30, 21 October 2023
Description
- Description:
- Returns true is the given magazine is a throwable.
- Groups:
- WeaponsUnit Inventory
Syntax
- Syntax:
- isThrowable magazine
- Parameters:
- magazine: String
- Return Value:
- boolean - true if throwable
Examples
- Example 1:
- isThrowable "HandGrenade"; //true
Additional Information
- See also:
- selectThrowable currentThrowable throwables 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