How do I play a sound?

So, long story short I am making a doom wad that is kinda like Duke Nukem with a bunch of one-liners.

Now, what I want to do is when a player crosses a line(def), the game plays a sound of the main charachter saying something.

And yes I already searched for this so much but I just cant find anything and I am also a newbie to Doom editing in general.

 

I am using GZDoom builder in zdoom (hexen format).

 

Any help would be appriciated!

 

Thanks!

 

Share this post


Link to post

You'll need to learn some ACS, so that you can set up a script that calls the PlaySound() function and then make your linedef invoke that script.

 

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