BIS fnc isThrowable: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
||
Line 14: | Line 14: | ||
|r1= [[Boolean]] - [[true]] if throwable | |r1= [[Boolean]] - [[true]] if throwable | ||
|x1= <code>private _isThrowable = "SmokeShellGreen" call | |x1= <code>private _isThrowable = "SmokeShellGreen" call BIS_fnc_isThrowable;</code> | ||
|seealso= [[magazines]] [[currentThrowable]] | |seealso= [[magazines]] [[currentThrowable]] | ||
}} | }} |
Revision as of 21:37, 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:
private _isThrowable = "SmokeShellGreen" call BIS_fnc_isThrowable;
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