Ammo pickup does not remove looping sound

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
DBThanatos
Posts: 3101
Joined: Fri Apr 14, 2006 3:17 pm
Location: in "the darkness that lurks in our mind"
Contact:

Ammo pickup does not remove looping sound

Post by DBThanatos »

I have this actor:

Code: Select all

Actor RifleAmmo : Ammo
{
	Inventory.PickupMessage "Ammo picked up"
	Inventory.Amount 100
	Inventory.MaxAmount 300
	States
	{
	Spawn:
		AMDD A -1 Bright A_PlaySound("BuzzSound",7,0.5,1,5)
		Stop
	}
}
But upon picking it up, the sound remains there forever. I also tried this in case the -1 was the reason

Code: Select all

	Spawn:
		AMDD A 0 Bright NODELAY A_PlaySound("BuzzSound",7,0.5,1,5)
		AMDD A 10 Bright 
		Wait
But the same thing happens. The sound just wont go away.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Ammo pickup does not remove looping sound

Post by Graf Zahl »

fixed.
Post Reply

Return to “Closed Bugs [GZDoom]”