Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
jobro

A_Jump problem

Recommended Posts

I have problems with my ricochet mod. The sounds should play at random, but it doesn't do that.

actor BPuff replaces BulletPuff
{
  spawnid 131
  renderstyle Translucent
  alpha 0.5
  +NOBLOCKMAP
  +NOGRAVITY
  +ALLOWPARTICLES
  states
  {
  Spawn:
    PUFF A 4 bright
    PUFF B 4 A_JUMP(8,1)
    PUFF B 1 A_PLAYSOUND(RICO)
    PUFF B 1
    // Intentional fall-through
  Melee:
    PUFF CD 4
    
    stop
  }
}
What is wrong?

Share this post


Link to post

Why don't you ask it at zdoom forums? there you will get more help in that thing

Share this post


Link to post

If you want to skip the sound you have to jump 2 states ahead. Your jump lands precisely on the playsound call.

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
Sign in to follow this  
×