benilla-re systems structs docs

CGUnit_C::PlayVocal

function · objectlayer · orchestration

Address
0x623490 · 135 bytes, up to 0x623516
Meaning
Plays a unit's vocal of a kind after its chance and rate limits (slot 34)
Confidence
verified, proof one
Finding
objectlayer/sounds#vocal-sounds

Finding: Vocal sounds in objectlayer: unit sounds

Slot 34, 0x623490(kind, force), plays a vocal of the unit's sound data at its position. Unless forced a kind passes a chance: 71 in 101 for kind 0, 61 for 2, 41 for 5, always otherwise; kind 5 plays at most once every 10 seconds, forced or not. Kinds 0 to 3 and 8 stay silent while 0x4591f0 holds. The player's slot 34 uses 36, 31 and 41 in 101 and raises the sound two yards.

kindrowcaller
0, 1+0x04, +0x08a swing's exertion, critical
2, 3, 9+0x0c, +0x10, +0x14a hit's pain, critical, crushing
4, 5, 7, 8+0x1c, +0x20, +0x2c, +0x34$FDX, 5; an alert reaction, 8
10, 11, 12+0x30, +0x64, +0x68

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 7

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