BIS fnc isInZoom: Difference between revisions
| Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN -->  <!-- Note Section END --> </dl>" to "") | Lou Montana (talk | contribs)  m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) | ||
| Line 1: | Line 1: | ||
| {{Function | {{Function | ||
| | arma3  | | arma3 | ||
| |1.00 | |1.00 | ||
| |gr1 = Map and Markers  | |gr1 = Map and Markers | ||
| | Checks if map zoom level is in between given interval (min,max) | | Checks if map zoom level is in between given interval (min,max) | ||
| |[_min,_max] call [[BIS_fnc_isInZoom]];  | |[_min,_max] call [[BIS_fnc_isInZoom]]; | ||
| |p1= [[Number]] - start of interval  | |p1= [[Number]] - start of interval | ||
| |p2= [[Number]] - end of interval  | |p2= [[Number]] - end of interval | ||
| |[[boolean]] | |[[boolean]] | ||
| |x1= <code>[[if]] ([0.001,0.02] [[call]] [[BIS_fnc_isInZoom]]) [[then]]   | |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> | ||
| |  | | | ||
| }} | }} | ||
Revision as of 23:09, 17 January 2021
Description
- Description:
- Checks if map zoom level is in between given interval (min,max)
- Execution:
- call
- Groups:
- Map and Markers
Syntax
- Syntax:
- [_min,_max] call BIS_fnc_isInZoom;
- Parameters:
- Number - start of interval
- 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:
- See also needed
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
 
	