- Opcode: 0x0C7;
- Short name: SEVOL
- Long name: Set Sound Effect Volume
Argument
none
Stack
Sound channel
Volume (0-127)
SEVOL
Description
Sets the volume of a single sound-effect channel. The handler pops the volume first (top of stack) and the channel second, then applies the volume to that channel immediately (Sfx_SetVolume_Mask, no transition). Returns 2.
PC handler: SCRIPT_SEVOL.
Function addresses
| Function | Address | Description |
|---|---|---|
SCRIPT_SEVOL | 0x520080 | Field script opcode handler (verified IDA function) |