BIS fnc isThrowable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
 
(37 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.62


| arma3 |= Game name
|gr1= Inventory


|1.00|= Game version
|descr= Returns true if given magazine is throwable
____________________________________________________________________________________________


| ''N/A'' |= Description
|s1= magazine call [[BIS_fnc_isThrowable]]
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_isThrowable]]; --> |= Syntax
|p1= magazine: [[String]] - magazine class name
|p1= |= Parameter 1


| |= Return value
|r1= [[Boolean]] - [[true]] if throwable
____________________________________________________________________________________________


|x1= <code></code> |=
|x1= <sqf>private _isThrowable = "SmokeShellGreen" call BIS_fnc_isThrowable;</sqf>
____________________________________________________________________________________________
 
| |= See also


|seealso= [[magazines]] [[currentThrowable]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Inventory|{{uc:isThrowable}}]]
[[Category:Functions|{{uc:isThrowable}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:isThrowable}}]]

Latest revision as of 22:44, 12 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