BIS fnc isThrowable: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
||
(28 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | |||
|game1= arma3 | |||
|version1= 1.62 | |||
| | |gr1= Inventory | ||
| | |descr= Returns true if given magazine is throwable | ||
| | |s1= magazine call [[BIS_fnc_isThrowable]] | ||
| magazine [[ | |p1= magazine: [[String]] - magazine class name | ||
| | |r1= [[Boolean]] - [[true]] if throwable | ||
|x1= <sqf>private _isThrowable = "SmokeShellGreen" call BIS_fnc_isThrowable;</sqf> | |||
|x1= < | |||
|seealso= [[magazines]] [[currentThrowable]] | |||
}} | }} | ||
Latest revision as of 22:44, 12 July 2022
Description
Syntax
- Syntax:
- magazine call BIS_fnc_isThrowable
- Parameters:
- magazine: String - magazine class name
- Return Value:
- Boolean - true if throwable
Examples
- Example 1:
Additional Information
- See also:
- magazines currentThrowable
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