Mugen code help

Started by Zankai99, December 29, 2013, 03:43:02 PM

Previous topic - Next topic

Zankai99

As you can see i'm a new user and i'm new in coding as well,so here is the problem
i want to make a specific sound to keep repeating when i continue to hold the "start" button.
For example goku charging up so i wont the charge wave sound and goku screaming "ahhhhhhhhhh" to continue as long as i hold "start" and i did figure out how to stop it when i release the "start" button i just got stuck in the repeating part,so mind helping me anyone?

Sheng Long

#1
Something like this should go into development help.


[state 1234, sound]
type = playsnd
trigger1 = Anim = 1
trigger1 = AnimElem = 1
value = 1, 2
channel = 0
loop = 1


And to stop the sound from looping


[state 1234, stop-sound]
type = stopsnd
triggerall = Time > 0
trigger1 = command != "hold_start"
channel = 0

"You must defeat my flaming
dragon punch to stand a chance."

Zankai99

Quote from: N-Mario on December 30, 2013, 04:18:54 AM
Something like this should go into development help.


[state 1234, sound]
type = playsnd
trigger1 = Anim = 1
trigger1 = AnimElem = 1
value = 1, 2
channel = 0
loop = 1


And to stop the sound from looping


[state 1234, stop-sound]
type = stopsnd
triggerall = Time > 0
trigger1 = command != "hold_start"
channel = 0


nope that didn't work :) anyways thnx found it on my own :D