benilla-re systems structs docs

CGUnit_C::Tick

function · objectlayer · primitive

Address
0x60a7f0 · 807 bytes, up to 0x60ab16
Meaning
Runs a unit's frame: held missiles, done sounds, loading screen end, nameplate, bleed, drunk sway and auto-move
Confidence
verified, proof one
Finding
objectlayer/unitbody#the-unit-tick
Test
objectlayer::u5_mount_level_fraction_difftest, objectlayer::u5_move_facing_wrap_difftest, objectlayer::u5_lean_pitch_difftest

Finding: The unit tick in objectlayer: unit body each frame

The world's per-object callback 0x482cd0 calls 0x60a7f0(time) for each unit. It releases missiles held past 2 seconds, stops the unit's finished sounds, ends the active player's loading screen once its transport is ready, drops the nameplate of a unit whose node is hidden, moves the unit's sound emitter, runs the bleed timer, and, for the active mover, feeds a drunk player's sway to the auto-move or to the facing and pitch.

The derivation is in the doc.

Callers 1

Callees 24

Calls and jumps by a bare address, from tables/calls.tsv.