BIS fnc isThrowable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "code>_([a-zA-Z0-9_]+) = " to "code>private _$1 = ")
m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3")
Line 16: Line 16:
|x1= <code>[[private]] _isThrowable = "SmokeShellGreen" [[call]] [[BIS_fnc_isThrowable]];</code>
|x1= <code>[[private]] _isThrowable = "SmokeShellGreen" [[call]] [[BIS_fnc_isThrowable]];</code>


|seealso= [[magazines]], [[currentThrowable]]
|seealso= [[magazines]] [[currentThrowable]]
}}
}}

Revision as of 12:53, 1 July 2022

Hover & click on the images for description

Description

Description:
Returns true if given magazine is throwable
Execution:
call
Groups:
Inventory

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