benilla-re systems structs docs

PickObjectUnderCursor

function · ui · orchestration

Address
0x481f00 · 87 bytes, up to 0x481f56
Meaning
Picks the world object under the cursor for the armed click
Confidence
verified, proof one
Finding
ui/mouseover#clicks-on-the-world

Finding: Clicks on the world in ui: the world under the pointer

After the click-versus-drag gate accepts a release, 0x481f60(action) builds a record for one of three legs by the pick state +0x350, found on the press: an object (state 2, the GUID at +0x358), the ground (state 1, the point at +0x360) or nothing (state 0, the press and release points at +0x370 and +0x37c). Action 1 is the left button and 4 the right. A charmed player takes the nothing leg with zeroed points. The press-time pick is used, not the live mouseover.

The derivation is in the doc.

Callers 1

Callees 2

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