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

Need help with A_PlaySound usage

Question

So I have a sound called "ICEBRK1A" in the "sounds" folder but I don't know how to get it to work with A_PlaySound.

 

I tried this:

Crash:
			HEAX A 1 A_PlaySound("sounds/ICEBRK1A")

and this:

Crash:
			HEAX A 1 A_PlaySound("ICEBRK1A")

but none of them work. What do I have to write?

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 0

Do you have the sound defined in the Actor Sound Property before your states?

....
+NOGRAVITY
  SeeSound "caco/sight"
  PainSound "caco/pain"
  DeathSound "caco/death"
  ActiveSound "caco/active"
  Obituary "$OB_CACO"
  HitObituary "$OB_CACOHIT"
  States
  {
  Spawn:
    HEAD a 1 A_Look
    Loop
  See:
....

I'm not sure if this is the right track or not.

Share this post


Link to post
  • 0

I'm trying to call a specific sound. According to the ZDoom Wiki, there's no sound property for the Crash state.

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
×