YesNoOk
avatar

Play SND with Animation. (Read 1524 times)

Started by レオンハルト, October 30, 2020, 11:38:35 pm
Share this topic:
Play SND with Animation.
#1  October 30, 2020, 11:38:35 pm
  • ***
  • "Let Us Cling Together."
So this SND controller is not working during this animation. When projectiles are hitting the floor.

[State -3, Explosion]
type = PlaySnd
triggerall = Time = 1
trigger1 = anim = 1004
value = s1000,2
Re: Play SND with Animation.
#2  October 30, 2020, 11:48:49 pm
  • ***
  • Ive taken my skills beyond mugen
    • USA
    • Skype - bushinryu Master
you need to create a changestate for the projectile when it hits the floor and place the snd code there
HIDDEN BOSS
Re: Play SND with Animation.
#3  October 31, 2020, 01:02:08 am
  • ***
  • "Let Us Cling Together."
I just need the snd to playback each time anim = 1004 plays.
Re: Play SND with Animation.
#4  October 31, 2020, 02:08:14 am
  • avatar
  • **
    • USA
Player is not entering anim 1004.  The projectile is.  The sound needs to be called from the projectile.

I had this problem in the past with air projectiles.  I just converted them to helper projectiles so that the helper could make all of the required changestates, sounds, and explods needed.  It seems like more code for nothing, but it's actually much easier because it takes out all of the guess work.
Re: Play SND with Animation.
#5  October 31, 2020, 02:09:11 am
  • ***
  • Ive taken my skills beyond mugen
    • USA
    • Skype - bushinryu Master
HIDDEN BOSS