ctrlMapScale: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (format, seealso, removed ancient note) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns the current scale of given map control. |= | | Returns the current scale of given map control. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''ctrlMapScale''' ctrl|= | | '''ctrlMapScale''' ctrl|SYNTAX= | ||
|p1= ctrl: [[Control]] |= | |p1= ctrl: [[Control]] |PARAMETER1= | ||
| [[Number]] |= | | [[Number]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|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>|= | _scale = [[ctrlMapScale]] _control; //returns number from 1 to 0.001</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[ctrlScale]], [[ctrlSetScale]] |= | | [[ctrlScale]], [[ctrlSetScale]] |SEEALSO= | ||
}} | }} |
Revision as of 14:36, 7 April 2019
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