The Mugen Fighters Guild

Help => M.U.G.E.N Development Help => Topic started by: jweezy34 on April 28, 2025, 07:43:35 pm

Title: Help with Playsnd trigger for a specific character in simul mode
Post by: jweezy34 on April 28, 2025, 07:43:35 pm
Sup guys, need some quick assistance regarding this one thing thats been buggin the hell outta me, working on something and I'm trying to get this sound to work properly in Simul mode with a partner. I managed to get it going through state -2 but it rarely works or does that weird stuttering thing. Just need help or a code to have this sound play properly every time I do this action no matter what if that makes sense.

[State 0]
type = PlaySnd
triggerall = command = "TAG" && stateno = 87100 || command = "TAG" && partner, stateno = 87006
trigger1 = partner, name = "ChunLi (MvCX)"
value = S900, 2
persistent = 0
channel = 0
volumescale = 150


State 87100 is the player tag out, state 87006 is the partner coming in. I'm trying to get this sound to play whenever these actions are executed. Any help or ideas? It plays when in state -2 but sporadically, so am I missing something? Thanks in advance.
Title: Re: Help with Playsnd trigger for a specific character in simul mode
Post by: jweezy34 on April 29, 2025, 04:24:36 am
I got one part going I think I just need help with the stutter now
Title: Re: Help with Playsnd trigger for a specific character in simul mode
Post by: MGMURROW on April 29, 2025, 12:48:33 pm
The stutter might be due to having two different stateno its triggering in. I would put the trigger in the tag state of p1 but also put a time trigger so it doesn’t play the whole time in the tag out state.
Example, in p1 tag out state

Type=playsnd
Trigger1=!time
Trigger1=partner,name=“chunli (mvcx)”
Channel=2

Channel=0 could be being used by another sounds default so try another channel
1-5

Hope this helps

MGMURROW
Title: Re: Help with Playsnd trigger for a specific character in simul mode
Post by: jweezy34 on April 30, 2025, 06:20:43 am
Yep that freaking worked lol thanks broski  :nuttrox: