benilla-re systems structs docs

AnchorSplinePath

function · objectlayer · primitive

Address
0x6021c0 · 1124 bytes, up to 0x602623
Meaning
Anchors a monster path at a position: empties a lone point within 1/36 yard, else prepends it or cuts passed points
Confidence
inferred
Finding
objectlayer/unitmovement#monster-moves
Test
objectlayer::anchor_region_a_difftest, objectlayer::anchor_region_b_difftest, objectlayer::anchor_region_c_difftest, objectlayer::anchor_region_d_difftest, objectlayer::anchor_region_e_difftest, objectlayer::anchor_region_f_difftest

Finding: Monster moves in objectlayer: unit movement

0x6018f0(store, opcode) reads the start point, the spline id and a type byte. Type 1 stops: within 3 yards the mover flushes and stops at the point. Types 2, 3 and 4 add a face point, a GUID or an angle. Then come the spline flags, the duration and a u32 count of points. Flag 0x200 sends every point; otherwise the last point comes whole and the middle points as packed offsets. The path is anchored at the unit (0x6021c0), started (0x6187a0) and given its facing; the active mover's input stops; the precast, ranged pose and spell effect are cleared.

The derivation is in the doc.

Callers 1

Callees 2

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