Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:2.09

Description

Description:
Sets the scaling limits for the editor map.

Note: Only works in diagnosis-mode VBS executables.

The command only has an effect, once the map is open already. Otherwise, it is reset to the default values, when the editor is first invoked.

The smaller the scale factor number, the bigger the magnification:

Syntax

Syntax:diag_setMapScale [min, max, default]
Parameters:
  • min: Number - Smallest scale map can be zoomed to (largest magnification) (default: 0.001).
  • max: Number - Highest scale map can be zoomed to (smallest magnification) (default: 1).
  • default: Number - Default scale the map is displayed at, when opened (default: .1).
Return Value:Nothing

Examples

Examples:
diag_setMapScale [.01,1,.05]

Additional Information

See also: ctrlMapScale
Multiplayer: 
Problems: 

Notes