CGUnit_C::InputSetWorldFacing
function · objectlayer · orchestration
- Address
0x60e940· 65 bytes, up to0x60e980- Meaning
- Sets the world facing through 0x60de00 while the input owns the mover, with bit 0 of 0xc4da48 set
- Confidence
- verified, proof two
- Finding
- objectlayer/unitmovement#local-movement-commands
Finding: Local movement commands in objectlayer: unit movement
The input code moves its unit through these. Each calls 0x60e990 first, which stops an auto-move
the input did not start and closes the loot window unless told not to, then queues the change on
the mover. A jump while mounted and standing still is no jump: the active player plays MountSpecial
and sends 0x171 with no body. A facing change wakes a sleeping unit (stand state 3).
The derivation is in the doc.
Callers 1
- CGUnit_C::AutoMoveTurnToward objectlayer
Callees 3
- GetInputControl input
- CanControlUnit input
- CGUnit_C::SetWorldFacing objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.