Jump to content

Sound of pain and to the wall?


Panda

Recommended Posts

I created a weapon that launches multiple projectiles. The weapon is similar to UT's "flak cannon". But there was a way to make the projectile have a different sound when hitting walls and another sound when you manage to hit the enemy.

 

Spoiler

actor fleshpk
{
    Radius 4
    Height 4
    Speed 255
    Damage (60)
    Projectile
    +RANDOMIZE
    ProjectileKickBack 250
    DamageType "Solid"
    States
        {
        Spawn:
          ARRW A 1
          Loop
        Death:
          NLPJ B 0 A_PlaySound("Weapon/snd023")
          NLPJ BCDEFG 3
          Stop
    }
}

 

How can I achieve this?

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
Reply to this topic...

×   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...