Script::PositionMiniWorldMapArrowFrame
function · ui · primitive
- Address
0x4a8f20· 512 bytes, up to0x4a911f- Signature
int __fastcall (lua_State *L)- Meaning
- Anchors the battleground minimap arrow model like SetPoint, with scaled offsets
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/worldmapmarkers#positioning-an-arrow
- Test
ui::luabind_4a8f20_mini_arrow_scale_divide
Finding: Positioning an arrow in ui: world map arrows and battleground markers
PositionWorldMapArrowFrame(point, frame [, relativePoint [, x, y]]) is SetPoint on the model. The first two arguments must be strings (else the usage error), the point names parse through 0x6f1840 (Unknown frame point), the frame is found by name (Couldn't find frame named '%s'), and a frame that is the arrow itself raises Error: %s is anchored to itself.
A relative point that is not a string defaults to the point, and offsets that are not both numbers are 0. Each offset is divided by 1024 times the scaled aspect (0x41ad70) and multiplied by the horizontal screen scale (0x41ae60) before 0x767c70.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 10
- GetScaledScreenAspect screencoord
- MultiplyByScreenScaleX screencoord
- SStrPrintf storm
- ParseAnchorPoint ui
- lua_isnumber lua
- lua_isstring lua
- lua_tonumber lua
- lua_tostring lua
- luaL_error lua
- CLayoutFrame::SetPoint ui
Calls and jumps by a bare address, from tables/calls.tsv.