Jump to content
  • 0

Certain actors refusing to play sounds


HQDefault

Question

I noticed this when working on an earlier map, but was able to find a workaround, not so for this.

 

Basically, some actors seem to not want to play sounds for some reason, and I can't find any explanation as to why or how to fix it. It doesn't seem to be an issue for monsters or weapons, just smaller things that are only meant to show up for a few seconds. I've tried SeeSound, DeathSound, A_PlaySound, A_StartSound, I've checked that SNDINFO is formatted correctly, none of it works. What is the issue here?

 

Here's my code:

actor ExplosivePuff: Bulletpuff
{
  Scale 0.8
  Alpha 0.8
  VSpeed 0.5
  States
  {
  Spawn:
    MISL B 0 A_StartSound("BulletExplosion", CHAN_AUTO, CHANF_DEFAULT, 1.0, 0.5)
    MISL B 6 Bright A_Explode
    MISL C 4 Bright
  Melee:
    MISL D 3 Bright
    Stop
  }
}

 

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0
1 hour ago, jaeden said:

Actors do not call fuctions on first state of Spawn.

Whaddaya know, that worked. Thanks.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...