MUGEN seems to be skipping the trigger parameter that i put in a PlaySnd code.The Trigger:time = 1440this code was supposed to loop a sound right when a previous sound stopped,but it doesn't work for some reason.
The state that this PlaySnd is used in, is longer than 1440 ticks?That's 24 seconds right there. Are you sure that you are not leaving the state before this Time comes around?
Yes,because im editing the SFX of Hanyou's Super Mario 64 character's wing cap move,which the character stays in that state until he is controlled to hit ground,so it can be past 24 seconds.
I’ve had problems before with sound effects that I imported from different sources.Just because it is a WAV does not necessarily mean it will play in MUGEN. It may even play in FF3. But it must be a supported frequency & bit rate to work in MUGEN.If you have WAV editing software try opening it and saving it with different settings.
Weird how one is not playing then.both of these sfx have the exact same bit rate,frequency,and sample rate.I'll change them up though.Sadly,i don't know how to change the bitrate on my audio editor.Plus,I swear i remember doing some coding that made a sound play anyway... but maybe that was something else.
[Statedef 1601]type = Actrl = 0anim = 1601velset = 0,0[State 1601,Som]type = PlaySndtrigger1 = time = 1value = 1600,1loop = 0[State 1601, PlaySnd]type = PlaySndtrigger1 = time = 1494.852value = S1600,2loop = 1That's it
Nvm,I found the reason.It's because MUGEN doesn't support numbers with values to the right of the decimal.When I removed the .852 of the number,it worked just fine.
Heh, yeah. Triggers, parameters, etc, have to be either integers (whole numbers) or floats (have decimal places).In this case if you look here you will see that the Time trigger must be an integer.Clickable textIf you have code that is not working this is a good aspect to check up on.