CGUnit_C::FaceObject
function · objectlayer · orchestration
- Address
0x602e80· 103 bytes, up to0x602ee6- Meaning
- Sets the mover's facing toward the object a GUID names through 0x47f220 and 0x6198e0
- Confidence
- verified, proof one
- Finding
- objectlayer/unitmovement#monster-moves
Finding: Monster moves in objectlayer: unit movement
0x6018f0(store, opcode) reads the start point, the spline id and a type byte. Type 1 stops:
within 3 yards the mover flushes and stops at the point. Types 2, 3 and 4 add a face point, a GUID or an angle.
Then come the spline flags, the duration and a u32 count of points. Flag 0x200 sends every point;
otherwise the last point comes whole and the middle points as packed offsets. The path is anchored
at the unit (0x6021c0), started (0x6187a0) and given its facing; the active mover's input
stops; the precast, ranged pose and spell effect are cleared.
The derivation is in the doc.
Callers 1
- CGUnit_C::OnMonsterMove objectlayer
Callees 3
- ClntObjMgrObjectPtr objectlayer
- HeadingBetweenPoints objectlayer
- CMovement::SetFacingNow collision
Calls and jumps by a bare address, from tables/calls.tsv.