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
}
}
Code: Select all
Spawn:
AMDD A 0 Bright NODELAY A_PlaySound("BuzzSound",7,0.5,1,5)
AMDD A 10 Bright
Wait