SectorSound

From Eternity Wiki
Revision as of 11:05, 31 May 2026 by Printz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description

This is an ACS built-in function.

Plays a sound at calling line's front sector.

Usage

void SectorSound(str sound, int volume)

Parameters

  • 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

Examples

No examples given.

Notes

This function will only work if the script is called from a linedef.

This function's identification in zspecial.acs is: ACC internal.

See also