BIS fnc isThrowable: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Inventory(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Inventory |GROUP1= | |gr1 = Inventory |GROUP1= | ||
| Returns true if given magazine is throwable |DESCRIPTION= | | Returns true if given magazine is throwable |DESCRIPTION= | ||
| magazine [[call]] [[BIS_fnc_isThrowable]] |SYNTAX= | | magazine [[call]] [[BIS_fnc_isThrowable]] |SYNTAX= | ||
Line 17: | Line 14: | ||
| [[Boolean]] - [[true]] if throwable |RETURNVALUE= | | [[Boolean]] - [[true]] if throwable |RETURNVALUE= | ||
|x1= <code>_isThrowable = "SmokeShellGreen" [[call]] [[BIS_fnc_isThrowable]];</code> |= | |x1= <code>_isThrowable = "SmokeShellGreen" [[call]] [[BIS_fnc_isThrowable]];</code> |= | ||
|[[magazines]], [[currentThrowable]]|SEEALSO= | |[[magazines]], [[currentThrowable]]|SEEALSO= |
Revision as of 23:24, 16 January 2021
Description
Syntax
- Syntax:
- magazine call BIS_fnc_isThrowable
- Parameters:
- magazine: String - magazine class name
- Return Value:
- Boolean - true if throwable
Examples
- Example 1:
_isThrowable = "SmokeShellGreen" call BIS_fnc_isThrowable;
Additional Information
- See also:
- magazinescurrentThrowable
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