BIS fnc isInZoom: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (formatting)
m (Text replacement - " \| *(s1=)? *(\[[^ ]+\] (call|spawn) \[\[BI(N|S)_fnc_[a-zA-Z0-9_]+\]\]); \| *p1 *=" to " |s1= $2 |p1=")
Line 9: Line 9:
|descr= Checks if map zoom level is in between given interval.
|descr= Checks if map zoom level is in between given interval.


|s1= [min, max] call [[BIS_fnc_isInZoom]];
|s1= [min, max] call [[BIS_fnc_isInZoom]]


|p1= min: [[Number]] - Start of interval
|p1= min: [[Number]] - Start of interval

Revision as of 20:10, 12 June 2021

Hover & click on the images for description

Description

Description:
Checks if map zoom level is in between given interval.
Execution:
call
Groups:
Map and Markers

Syntax

Syntax:
[min, max] call BIS_fnc_isInZoom
Parameters:
min: Number - Start of interval
max: Number - End of interval
Return Value:
Boolean

Examples

Example 1:
if ([0.001, 0.02] call BIS_fnc_isInZoom) then { hint "Zoom level is in between 0.001 and 0.02"; };

Additional Information

See also:
-

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