ctrlMapScale

From Bohemia Interactive Community
Revision as of 04:04, 10 February 2015 by Benargee (talk | contribs) (Made useful example. Thanks to KK's blog for correct A3 display and control number)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Return the current scale of the map control.
Groups:
Uncategorised

Syntax

Syntax:
Number = ctrlMapScale controlName
Parameters:
controlName: Control
Return Value:
Number

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

Bottom Section