CGUnit_C::StartAutoMoveToObject
function · objectlayer · primitive
- Address
0x60fed0· 436 bytes, up to0x610083- Meaning
- Starts an auto-move toward an object after the mode's checks; follow signals AUTOFOLLOW_BEGIN
- Confidence
- verified, proof one
- Finding
- objectlayer/unitmovement#starting-and-ending-auto-move
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 11
- Script::FollowUnit ui
- Script::FollowByName ui
- CGPlayer_C::LootCorpse objectlayer
- CGPlayer_C::LootUnit objectlayer
- CGPlayer_C::InteractWithNpc objectlayer
- CGPlayer_C::InteractWithSpell objectlayer
- CGUnit_C::OnChannelObjectChanged objectlayer
- CGUnit_C::RefreshRangedWeaponModel objectlayer
- CGUnit_C::StartChannelVisual objectlayer
- HandleSpellStart spell
- PlaySpellPrecastVisual spell
Callees 6
- ClntObjMgrObjectPtr objectlayer
- CGGameUI::DisplayError ui
- CGUnit_C::CanCooperate objectlayer
- CGUnit_C::GetUnitName objectlayer
- CGUnit_C::StartAutoMove objectlayer
- FrameScript_SignalEvent2 ui
Calls and jumps by a bare address, from tables/calls.tsv.