CGUnit_C::WalkToGameObject
function · objectlayer · primitive
- Address
0x610300· 153 bytes, up to0x610398- Meaning
- Starts auto-move mode 7 to a game object; its stop distance 0xc4d998 is the argument times 0.9
- Confidence
- verified, proof one
- Finding
- objectlayer/unitmovement#starting-and-ending-auto-move
- Test
objectlayer::interact_arrival_scale_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
- CGGameObject_C::TryUse objectlayer
Callees 3
- ClntObjMgrObjectPtr objectlayer
- CGUnit_C::CanAutoInteract objectlayer
- CGUnit_C::StartAutoMove objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.