benilla-re systems structs docs

CGUnit_C::PlayFootstep

function · objectlayer · primitive

Address
0x623390 · 166 bytes, up to 0x623435
Meaning
Plays a unit's footstep on $FSD with its terrain, liquid and size flags
Confidence
verified, proof one
Finding
objectlayer/sounds#footsteps

Finding: Footsteps in objectlayer: unit sounds

$FSD plays a footstep: the sound data's +0x24 at the event point, with the unit's terrain, a flag for a point at a liquid surface and one for a size class of 3 or more. A unit with byte 3 flag 0x2 of UNIT_FIELD_BYTES_1, a mover with flag 0x40000000, a player ghost or FootstepSounds off makes none.

The derivation is in the doc.

Callers 1

Callees 4

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