Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How to play a sound effect?

Recommended Posts

I know your pain, it took me sometime to get it working despite being a simple script.

Here is what's working for me:

First place where the sound will be heard: Thing - Mapspot (9001 in UDMF format)
Script: PlaySound (Your Tagged Mapspot, "SOUND", CHAN_BODY, 1.0, false, 0);

If the sound still doesn't play it's possible you are using the incorrect name of the file. Also don't forget about the trigger.


SectorSound ("SOUND", 127);

This should play and be heard from anywhere, as if it's playing on the actor

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now