isThrowable: Difference between revisions
Jump to navigation
Jump to search
m (2.16 -> 2.18) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 16: | Line 16: | ||
|p1= magazine: [[String]] | |p1= magazine: [[String]] | ||
|r1= [[ | |r1= [[Boolean]] - [[true]] if throwable | ||
|x1= <sqf>isThrowable "HandGrenade"; // true</sqf> | |x1= <sqf>isThrowable "HandGrenade"; // true</sqf> |
Revision as of 01:46, 4 April 2024
Description
- Description:
- Returns true if 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