benilla-re systems structs docs

CGUnit_C::WalkToAttack

function · objectlayer · primitive

Address
0x60fcc0 · 459 bytes, up to 0x60fe8a
Meaning
Walks to a target's combat reach in mode 10, at least 5 yards, or faces it when already in reach
Confidence
verified, proof one
Finding
objectlayer/unitmovement#starting-and-ending-auto-move
Test
objectlayer::cast_reach_floor_difftest, objectlayer::cast_in_range_difftest, objectlayer::cast_plane_z_difftest

Finding: Starting and ending auto-move in objectlayer: unit movement

0x611130(mode, guid, point, facing) stops any auto-move, checks the range and the stop distance, and stores the mode, start time, start position, target GUID, point (0xc4d890) and facing (0xc4d9a8); a seated unit stands. 0x60fed0(guid, mode) starts one toward an object after per-mode checks. 0x60fb60(face, stop) ends one: follow signals AUTOFOLLOW_END, face turns toward the target, stop releases the move, turn and pitch commands, and the mode returns to 12.

The derivation is in the doc.

Callers 1

Callees 9

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