CGUnit_C::DrawAutoMoveTarget
function · objectlayer · primitive
- Address
0x611400· 388 bytes, up to0x611583- Meaning
- Draws a pulsing box at a mode 4 or 10 target point, period 500 ms
- Confidence
- verified, proof one
- Finding
- objectlayer/unitmovement#steering-an-auto-move
- Test
objectlayer::click_ring_pulse_difftest,objectlayer::click_ring_corner_difftest
Finding: Steering an auto-move in objectlayer: unit movement
0x6106b0 runs each frame for the active mover. It reads the target (0x610e40), turns toward it
by at most the CVar turn speed, pitches a swimmer, and arrives inside the stop distance. Arrival
runs the mode's action through 0x60f940, and 0x60fa20 completes a pending interaction after
the move.
The derivation is in the doc.
Callers 1
- CGUnit_C::Update objectlayer
Callees 7
- OsGetAsyncTimeMs core
- GxRsPush gx
- GxRsPop gx
- SetSelectionCircleState objectlayer
- BuildYawMatrix objectlayer
- DrawDecal lighting
- CMovement::TransportToWorld collision
Calls and jumps by a bare address, from tables/calls.tsv.