BIS fnc isThrowable: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
(Add isThrowable to see also)
Line 16: Line 16:
|x1= <sqf>private _isThrowable = "SmokeShellGreen" call BIS_fnc_isThrowable;</sqf>
|x1= <sqf>private _isThrowable = "SmokeShellGreen" call BIS_fnc_isThrowable;</sqf>


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

Revision as of 10:17, 1 September 2025

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