BIS fnc isInZoom: Difference between revisions
| Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") | m (formatting) | ||
| Line 1: | Line 1: | ||
| {{RV|type=function | {{RV|type=function | ||
| | arma3 | |game1= arma3 | ||
| |1.00 | |version1= 1.00 | ||
| |gr1= Map and Markers | |gr1= Map and Markers | ||
| | 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]]; | ||
| |p1= [[Number]] -  | |p1= min: [[Number]] - Start of interval | ||
| |x1= <code>[[if]] ([0.001,0.02] [[call]] [[BIS_fnc_isInZoom]]) [[then]]   | |p2= max: [[Number]] - End of interval | ||
| |r1= [[Boolean]] | |||
| |x1= <code>[[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"; | ||
| };</code> | };</code> | ||
| |seealso= - | |||
| }} | }} | ||
Revision as of 13:13, 28 May 2021
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
 
	