This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:getcamerazoom [2014/10/01 19:02] – external edit 127.0.0.1 | crpl:docs:getcamerazoom [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | + | |
<- [[crpl: | <- [[crpl: | ||
===== GetCameraZoom | ===== GetCameraZoom | ||
Line 8: | Line 8: | ||
=== Description === | === Description === | ||
- | Returns the camera zoom level as an integer between 0 and 12, with 0 being maximum zoom. FIXME | + | 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/ | ||
=== Examples === | === Examples === | ||
< | < | ||
- | GetCamera | + | #This core now reports the zoom |
+ | GetCameraZoom SetPopupText | ||
</ | </ |