benilla-re systems structs docs

InitAutoMoveModes

function · objectlayer · primitive

Address
0x60e590 · 216 bytes, up to 0x60e667
Signature
void __cdecl (void)
Meaning
Fills rows 3 to 10 of the auto-move table 0x860a58: 900 for follow, 6400 for five modes, flag bytes
Confidence
verified, proof one
Finding
objectlayer/unitmovement#auto-move-modes

Finding: Auto-move modes in objectlayer: unit movement

Auto-move drives the active mover toward a target in a mode, 0xc4d888, 12 meaning none. Each mode has a 12-byte row of 0x860a58: enabled, a maximum squared distance, and two flags.

modeusemaximumstop distance²
0, 1keep facing the target or channel objectnonenone
2face a directionnonenone
8walk along a headingnonenone
3follow (AUTOFOLLOW_BEGIN)9009
4walk to a pointnone0.25
5walk to an NPC64007.7160487
6, 10loot; walk to attack6400the reaches + 4/3, at least 5
7walk to a game object64000xc4d998²
9walk into spell range6400range · 0.9, squared

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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