benilla-re systems structs docs

Script::PositionWorldMapArrowFrame

function · ui · primitive

Address
0x4a8d20 · 512 bytes, up to 0x4a8f1f
Signature
int __fastcall (lua_State *L)
Meaning
Anchors the world map 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_4a8d20_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

Calls and jumps by a bare address, from tables/calls.tsv.