YesNoOk
avatar

Defeated victim sound play? (Read 551 times)

Started by GMONEY, December 05, 2009, 03:53:47 am
Share this topic:
Defeated victim sound play?
New #1  December 05, 2009, 03:53:47 am
  • **
Luckily this might be my last question.... :artist:

How do I make a sound which plays as soon as you defeat your opponent.
Last Edit: June 19, 2012, 08:01:32 pm by GMONEY
Re: Defeated victim sound play?
#2  December 05, 2009, 05:21:14 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
[mcode]state -2
winko
roundstate = 3
helper
playsnd
persistent = 0[/mcode]

You need those.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Defeated victim sound play?
#3  December 06, 2009, 01:37:38 am
  • ******
Click on the links. Nobody is going to give you some code just like that. And acting like that is the best way to make sure nobody will reply to you at all.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
Re: Defeated victim sound play?
#4  December 06, 2009, 01:43:57 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Most of the time we assume when you ask "how do i do this i haven't tried yet" that you have some knowledge of what's going to happen in the first place.

If you look at those, use your imagination a bit and come up with something on the right lines, but not working, then we'll help further.

We do not ever GIVE code. You will not learn if that happens. You'll just have something functional that you cannot mess with because you don't know how anything works.

Understanding what's actually going on is far more important than what is going on in the first place.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Defeated victim sound play?
#5  December 06, 2009, 03:00:23 am
  • ***
when I got to the forum, I did the same, but a user make me think...he said:

Give someone a fish and he'll eat for a day, teach him how to fish and he'll eat for life....

so DO YOUR OWN CODE...even if u dont know anything u learn... and the first thing that they teach u when learning to ride a bike is to push the peddal...if u dont do it the bike wont start -.-
Re: Defeated victim sound play?
#6  December 07, 2009, 05:07:39 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
You make it up. You try something.

hell

[state -2]
type = playsnd
trigger1 = winko
value = yoursound

Would have been a decent start. It would have been buggy as hell, but it's a starting point. Invent ANYTHING. We don't care what you get. Or if it's buggy as fuck. The important thing is that you've made SOME attempt so we have something to work on rather than spoonfeeding it.

And this isn't just you, there's a number of people who have asked questions and think that working code should be forthcoming.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Defeated victim sound play?
#7  December 07, 2009, 10:57:36 am
  • ******
Dude, if you don't even know how to code, you should say it and ask about it instead of asking for a specific code right away.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
Re: Defeated victim sound play?
#8  December 12, 2009, 01:43:48 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Right, we've got SOMETHING out of you.

Now, it's playing heaps, obviously that's no good. We want it to only play once.

In this case, create a helper using those triggers and put your playsnd inside that. Make sure to tell mugen not to create another helper while that one is out.

Come back after that.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.