benilla-re systems structs docs

CGUnit_C::WalkAlongHeading

function · objectlayer · primitive

Address
0x610100 · 431 bytes, up to 0x6102ae
Meaning
Starts auto-move mode 8 toward a clicked point, pitching a swimmer toward it first
Confidence
verified, proof one
Finding
objectlayer/unitmovement#starting-and-ending-auto-move
Test
objectlayer::cast_aim_normalize_difftest, objectlayer::cast_aim_key_difftest, objectlayer::cast_aim_endpoint_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 7

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