BIS fnc isInZoom: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(s1=)? *(\[[^ ]+\] (call|spawn) \[\[BI(N|S)_fnc_[a-zA-Z0-9_]+\]\]); \| *p1 *=" to " |s1= $2 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2") |
||
(10 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 1.00 | |version1= 1.00 | ||
Line 9: | 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]] - | |p1= min: [[Number]] - start of interval | ||
|p2= max: [[Number]] - | |p2= max: [[Number]] - end of interval | ||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|x1= < | |x1= <sqf> | ||
if ([[0.001, 0.02]] call BIS_fnc_isInZoom) then | |||
{ | { | ||
hint "Zoom level is in between 0.001 and 0.02"; | |||
};</ | }; | ||
</sqf> | |||
|seealso= | |seealso= [[ctrlMapScale]] | ||
}} | }} |
Latest revision as of 15:49, 8 November 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:
- 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