BIS fnc isInZoom: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Added decription, syntax and example for BIS_fnc_isInZoom)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| ''N/A'' |= Description
| Checks if map zoom level is in between given interval (min,max)|=Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_isInZoom]]; --> |= Syntax
|[_min,_max] call [[BIS_fnc_isInZoom]]; |= Syntax


|p1= |= Parameter 1
|p1= [[Number]] - start of interval |= Parameter 1
 
|p2= [[Number]] - end of interval |= Parameter 2
| |= Return value
|[[boolean]]|= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>[[if]] ([0.001,0.02] [[call]] [[BIS_fnc_isInZoom]]) [[then]]
{
  [[hint]] "Zoom level is in between 0.001 and 0.02";
};</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 20:56, 28 March 2016


Hover & click on the images for description

Description

Description:
Checks if map zoom level is in between given interval (min,max)
Execution:
call
Groups:
Uncategorised

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

Notes

Bottom Section