Linedef type 414
Linedef type 414, Play Sound Effect, is a type of linedef executor which, when triggered, plays a specified sound effect.
Setup
The control linedef's front upper texture indicates the lump name of the sound to be played, e.g., DSALARM
for the alarm sound effect. Consult the list of sounds for a list of available sound effects.
By default, the sound is played for all players from the location of the Object that triggered the linedef executor. If Flag [1] / Block Enemies is set, the sound is played from the center of the sector that triggered the linedef executor. If Flag [9] / Solid Midtexture / Effect 4 is set, the sound is played from nowhere. If Flag [6] / Not Climbable is set, the sound is played from nowhere, but only for the player who triggered it.
If this linedef is given a tag other than 0, the sound is played from nowhere, but only for players who are touching a tagged sector. If Flag [10] / Repeat Midtexture / Effect 5 is checked, the sound is played for all players from the center of each tagged sector.
|
Sample
- Example file: ex_ld414_playsoundeffect.wad (MAP01)
- This sample plays the sound effect
DSGBEEP
.
How to use |
---|
|