SectorSound: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
(Created page with "''void'' '''SectorSound'''(''str sound'', ''int volume'') Plays a sound at calling line's front sector. * ''sound'': name of sound to play. * ''volume'': volume of sound. Use...") |
No edit summary |
||
Line 1: | Line 1: | ||
''void'' '''SectorSound'''(''str sound'', ''int volume'') | {{ACSFunction|description=Plays a sound at calling line's front sector. | ||
|usage=''void'' '''SectorSound'''(''str sound'', ''int volume'') | |||
|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. | ||
|notes=This function will only work if the script is called from a linedef. | |||
This function will only work if the script is called from a linedef. | |id=ACC internal | ||
= | |seealso= | ||
*[[ | *[[ActivatorSound]] | ||
*[[AmbientSound]]}} | |||
[[ |
Latest revision as of 11:32, 21 November 2020
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.
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.