BIS fnc isInZoom: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]+)<\/code>" to "<sqf>$1</sqf>") |
Lou Montana (talk | contribs) (Fix example) |
||
Line 8: | Line 8: | ||
|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= [<nowiki/>[min, max]] call [[BIS_fnc_isInZoom]] | ||
|p1= min: [[Number]] - Start of interval | |p1= min: [[Number]] - Start of interval | ||
Line 16: | Line 16: | ||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|x1= <sqf>if ([0.001, 0.02] call BIS_fnc_isInZoom) then | |x1= <sqf> | ||
if ([[0.001, 0.02]] call BIS_fnc_isInZoom) then | |||
{ | { | ||
hint "Zoom level is in between 0.001 and 0.02"; | hint "Zoom level is in between 0.001 and 0.02"; | ||
};</sqf> | }; | ||
</sqf> | |||
|seealso= - | |seealso= - | ||
}} | }} |
Revision as of 16:08, 9 April 2023
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:
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