BIS fnc isThrowable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|= * " to " ")
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|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.62|Game version=
|1.62


|gr1 = Inventory |GROUP1=
|gr1 = Inventory


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


| magazine [[call]] [[BIS_fnc_isThrowable]] |SYNTAX=
| magazine [[call]] [[BIS_fnc_isThrowable]]


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


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


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


|[[magazines]], [[currentThrowable]]|SEEALSO=
|[[magazines]], [[currentThrowable]]


}}
}}

Revision as of 00:10, 18 January 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


Bottom Section