benilla-re systems structs docs

CGUnit_C::OnMonsterMove

function · objectlayer · primitive

Address
0x6018f0 · 2083 bytes, up to 0x602112
Meaning
Reads a monster move: start, spline id, facing kind, flags, duration and points, and starts the path on the mover
Confidence
verified, proof one
Finding
objectlayer/unitmovement#monster-moves
Test
objectlayer::monster_move_case1_near_gate_difftest, objectlayer::monster_move_direction_sincos_difftest, objectlayer::monster_move_case_delta_sub_difftest, objectlayer::monster_move_case_delta_sub_clone_difftest, objectlayer::monster_move_case2_coincident_gate_difftest, objectlayer::monster_move_case34_coincident_gate_difftest, objectlayer::monster_move_reflect_through_difftest, objectlayer::monster_move_arc_length_difftest, objectlayer::monster_move_speed_duration_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 24

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