BIS fnc isThrowable: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= * " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.62 | |1.62 | ||
|gr1 = Inventory | |gr1 = Inventory | ||
| Returns true if given magazine is throwable | | Returns true if given magazine is throwable | ||
| magazine [[call]] [[BIS_fnc_isThrowable]] | | magazine [[call]] [[BIS_fnc_isThrowable]] | ||
|p1= magazine: [[String]] - magazine class name | |p1= magazine: [[String]] - magazine class name | ||
| [[Boolean]] - [[true]] if throwable | | [[Boolean]] - [[true]] if throwable | ||
|x1= <code>_isThrowable = "SmokeShellGreen" [[call]] [[BIS_fnc_isThrowable]];</code> | |x1= <code>_isThrowable = "SmokeShellGreen" [[call]] [[BIS_fnc_isThrowable]];</code> | ||
|[[magazines]], [[currentThrowable]] | |[[magazines]], [[currentThrowable]] | ||
}} | }} |
Revision as of 23:10, 17 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