BIS fnc isInZoom: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Add seeAlso)
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *E([a-z])" to "$1 - e$2")
Line 12: Line 12:
|p1= min: [[Number]] - Start of interval
|p1= min: [[Number]] - Start of interval


|p2= max: [[Number]] - End of interval
|p2= max: [[Number]] - end of interval


|r1= [[Boolean]]
|r1= [[Boolean]]

Revision as of 14:06, 8 November 2023

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

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