SectorSound: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
|parameters= | |parameters= | ||
* ''sound'': name of sound to play. | * ''sound'': name of sound to play. | ||
* ''volume'': volume of sound. Uses the same range as in other places sounds are used. | * ''volume'': volume of sound. Uses the same range as in other places sounds are used. The usual volume for Doom sounds is 127. | ||
|notes=This function will only work if the script is called from a linedef. | |notes=This function will only work if the script is called from a linedef. | ||
|id=ACC internal | |id=ACC internal | ||
Latest revision as of 11:05, 31 May 2026
Description[edit]
This is an ACS built-in function.
Plays a sound at calling line's front sector.
Usage[edit]
void SectorSound(str sound, int volume)
Parameters[edit]
- sound: name of sound to play.
- volume: volume of sound. Uses the same range as in other places sounds are used. The usual volume for Doom sounds is 127.
Return value[edit]
Examples[edit]
No examples given.
Notes[edit]
This function will only work if the script is called from a linedef.
This function's identification in zspecial.acs is: ACC internal.