ctrlMapScale: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
(Made useful example. Thanks to KK's blog for correct A3 display and control number) |
||
Line 17: | Line 17: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>_control = ([[findDisplay]] 12) [[displayCtrl]] 51 //Arma 3 | ||
_scale = ctrlMapScale _control//returns number from 1 to 0.001</code>|= Example 1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 04:04, 10 February 2015
Description
- Description:
- Return the current scale of the map control.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_control = (findDisplay 12) displayCtrl 51 //Arma 3 _scale = ctrlMapScale _control//returns number from 1 to 0.001
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
-
-Giova 16:53, 23 January 2007 (CET) : this command doesn't works under arma v1.02, it allways return: 1