User Tools

Site Tools


crpl:docs:getcamerazoom

<- CRPL reference <- Screen Commands

GetCameraZoom

ArgumentsResultNotation
Zoom level– i1

Description

Returns the camera zoom level as an integer between 0 and 12 inclusive, with 0 being maximum zoom. 4 is the standard zoom.

The scale multiple by which graphics are scaled or map pixel coordinates need to be multiplied by to get screen pixel coordinates is: (scale= 8.0/(4+zoom)).

Examples

#This core now reports the zoom
GetCameraZoom SetPopupText
crpl/docs/getcamerazoom.txt · Last modified: 2015/03/19 16:46 by warren