GetZoomRadius
function · minimap · primitive
- Address
0x6da9b0· 73 bytes, up to0x6da9f8- Signature
float __cdecl ()- Meaning
- Returns the zoom radius in yards for the active index and indoor state
- Confidence
- verified, proof one
- Finding
- ui/minimap#the-zoom-radius
- Test
minimap::zoom_to_scale_difftest
Finding: The zoom radius in ui: Minimap, the widget
The radius of the disc in yards is 0.5 · 33.333332 · {14, 12, 10, 8, 6, 4}[z] outdoors, 233.3 yards down
to 66.7, and {150, 120, 90, 60, 40, 25}[z] indoors, where z is 0 to 5. A byte the minimap update sets
chooses between the tables. The two indices are the options minimapZoom and
minimapInsideZoom, default 3, read when the blips are rebuilt for a world. SetZoom stores an index
of 5 or more as 5, which includes a negative one, in the active index and its option. The ping, the blips
and the dots all use this radius.
The derivation is in the doc.
Callers 5
- MinimapApplyPing ui
- Script::PingLocation ui
- Minimap::GetPingPosition ui
- PlaceBlips minimap
- PlacePartyBlips minimap
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.