ctrlMapScale: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Killzone Kid (talk | contribs) (format, seealso, removed ancient note) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Returns the current scale of given map control. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | '''ctrlMapScale''' ctrl|= Syntax | ||
|p1= | |p1= ctrl: [[Control]] |= Parameter 1 | ||
| [[Number]] |= Return value | | [[Number]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_control = ([[findDisplay]] 12) [[displayCtrl]] 51 //Arma 3 | |x1= <code>_control = ([[findDisplay]] 12) [[displayCtrl]] 51; //Arma 3 | ||
_scale = [[ctrlMapScale]] _control//returns number from 1 to 0.001</code>|= Example 1 | _scale = [[ctrlMapScale]] _control; //returns number from 1 to 0.001</code>|= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[ctrlScale]], [[ctrlSetScale]] |= See also | |||
}} | }} | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> |
Revision as of 12:48, 10 February 2015
Description
- Description:
- Returns the current scale of given 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:
- ctrlScalectrlSetScale
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