CGUnit_C::PlayFootstep
function · objectlayer · primitive
- Address
0x623390· 166 bytes, up to0x623435- 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
- CGUnit_C::OnModelEvent objectlayer
Callees 4
- PlayFootstep sound
- CGUnit_C::IsPointAtLiquidSurface objectlayer
- CGUnit_C::GetSoundData objectlayer
- GetUnitSoundSize objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.