User Tools

Site Tools


crpl:docs:getcamerazoom

This is an old revision of the document!


<- 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.1426797999.txt.gz · Last modified: 2025/02/14 14:56 (external edit)