BIS fnc isThrowable: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
(Add Obsolete note)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.62
|1.62


|gr1= Inventory
|gr1= Inventory


|descr= Returns true if given magazine is throwable
|descr= Returns true if given magazine is throwable.
{{Feature|obsolete|see [[isThrowable]].|arma3|2.18}}


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


|p1= magazine: [[String]] - magazine class name
|p1= magazine: [[String]] - magazine class name


|r1=[[Boolean]] - [[true]] if throwable
|r1= [[Boolean]] - [[true]] if throwable


|x1= <code>_isThrowable = "SmokeShellGreen" [[call]] [[BIS_fnc_isThrowable]];</code>
|x1= <sqf>private _isThrowable = "SmokeShellGreen" call BIS_fnc_isThrowable;</sqf>


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

Latest revision as of 10:18, 1 September 2025

Hover & click on the images for description

Description

Description:
Returns true if given magazine is throwable.
🕖
This information is obsolete as of Arma 3 v2.18. Reason: see isThrowable.
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:
isThrowable 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