CGUnit_C::PlayFoley
function · objectlayer · primitive
- Address
0x623440· 79 bytes, up to0x62348e- Meaning
- Plays one foley sound two yards above a unit
- Confidence
- verified, proof one
- Finding
- objectlayer/sounds#foley-and-the-alert
- Test
objectlayer::f2_sound_pos_z_bias_difftest
Finding: Foley and the alert in objectlayer: unit sounds
The model events $FD1 to $FD9 play the unit's foley: $FD1 to $FD4 play the four dwords
from the sound data's +0x38, two yards above the unit; $FD5 to $FD9 find nothing. $FDX
plays kind 5 on any unit but the active player.
The derivation is in the doc.
Callers 1
- CGUnit_C::OnFoleyEvent objectlayer
Callees 3
- PlaySoundAtArgs sound
- CGUnit_C::GetSoundData objectlayer
- GetFoleySound objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.