BIS fnc isThrowable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 7: Line 7:
|gr1= Inventory
|gr1= Inventory


| Returns true if given magazine is throwable
|descr= Returns true if given magazine is throwable


|s1=  magazine [[call]] [[BIS_fnc_isThrowable]]
|s1=  magazine [[call]] [[BIS_fnc_isThrowable]]

Revision as of 21:46, 13 June 2021

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:
_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