YesNoOk
avatar

Multiple Taunts (Read 638 times)

Started by SaintSix, June 12, 2009, 04:56:39 am
Share this topic:
Multiple Taunts
#1  June 12, 2009, 04:56:39 am
  • **
OK ive gotten multiple taunts by ifelse(random>500,195,196)..my problem is they both have the same snd how can i make it so that both the randomly triggered taunts have seperate snds?
Nothing Is here
Re: Multiple Taunts
#2  June 12, 2009, 07:07:09 am
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/

  • Online
Change the playsnd sctrls in the states....
Re: Multiple Taunts
#3  June 12, 2009, 09:00:49 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Same state, different animation? Just trigger the sound via animation.


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: Multiple Taunts
#4  June 12, 2009, 03:56:09 pm
  • avatar
  • **
Orochi Gill is a liar. He lied once, he is a liar.
Re: Multiple Taunts
#5  June 12, 2009, 06:54:03 pm
  • ******
Not if it's in the same state.
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: Multiple Taunts
#6  June 12, 2009, 09:04:38 pm
  • **
ok i have ONE state that is the taunt state..


ifelse(random<500,195,190)

^^ thats the anim

now my problem is the sounds i want for anim 195 still play for 190...how do i make it so that when anim 195 is triggered...the sounds for 190 dont play and only the sounds for 195 play? and vice versa.. ???
Nothing Is here
Re: Multiple Taunts
#7  June 12, 2009, 10:33:40 pm
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/

  • Online
Use a playsnd along with another ifelse statement.

exmaple:

playsnd
trigger = blah
value = s195, ifelse(anim = 190, 0, 1)
Re: Multiple Taunts
#8  June 12, 2009, 11:19:27 pm
  • **
Nothing Is here
Re: Multiple Taunts
#9  January 14, 2013, 11:54:38 pm
    • USA
    • nicholus6@aol.com
i kinda have the same issue. i am trying to give my character 2 taunts, one where he does kefka's laugh from final fantasy, which is state 195, and another taunt i am trying to give him is the phrase that dr. ivo robotnik says in the adventures of sonic the hedgehog cartoon, saying this, "snooping as usual, i see?", which is state 196, i can get state 195 to work just fine, but when i try to execute the second taunt by giving it the command; "down_s" i press that button combo, but it still does the taunt state of 195. am i missing something?
Re: Multiple Taunts
#10  January 15, 2013, 12:36:34 am
  • ****
  • The Legend Will Never Die
    • Mexico
I'm guessing "down_s" means you are pressing down + the start button, correct?

The start button will trigger state 195. Since the start button is the only requirement needed to make the taunt work, the start button + any direction will also trigger the taunt.

CNS instructions are read from top to bottom, so if you want down + start to register you need to put the new changestate (196) "above" the normal one (195): like so:

Code:
;---------------------------------------------------------------------------
;Taunt
;??
[State -1, Taunt]
type = ChangeState
value = 196
triggerall = statetype != A
trigger1 = command = "down_s"

;---------------------------------------------------------------------------
;Taunt
;??
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = statetype != A
trigger1 = command = "start"

In addition, do note line 7. Your taunt command is using "down + start", which means that you'll be in crouching states during this time.

It's hard to make a move with a downwards direction work during a standing state, so this condition makes the character able to do it in either standing or crouching types.

Hope this helps.
Twitter: @vans1belmont
1.1 AZRAEL #GDLK
amazon, pls
Last Edit: January 15, 2013, 04:26:09 am by Vans
Re: Multiple Taunts
#11  January 15, 2013, 04:22:43 am
  • ******
  • [E]
    • Mexico
what if you release down, so the character is still crouching and then press start,so down_s is false and statetype = S is false too.
Re: Multiple Taunts
#12  January 15, 2013, 04:26:44 am
  • ****
  • The Legend Will Never Die
    • Mexico
whoops, forgot to change that line from my own stuff. stealth edited.
Twitter: @vans1belmont
1.1 AZRAEL #GDLK
amazon, pls
Re: Multiple Taunts
#13  January 16, 2013, 03:26:28 am
    • USA
    • nicholus6@aol.com
I'm guessing "down_s" means you are pressing down + the start button, correct?

The start button will trigger state 195. Since the start button is the only requirement needed to make the taunt work, the start button + any direction will also trigger the taunt.

CNS instructions are read from top to bottom, so if you want down + start to register you need to put the new changestate (196) "above" the normal one (195): like so:

Code:
;---------------------------------------------------------------------------
;Taunt
;??
[State -1, Taunt]
type = ChangeState
value = 196
triggerall = statetype != A
trigger1 = command = "down_s"

;---------------------------------------------------------------------------
;Taunt
;??
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = statetype != A
trigger1 = command = "start"

In addition, do note line 7. Your taunt command is using "down + start", which means that you'll be in crouching states during this time.

It's hard to make a move with a downwards direction work during a standing state, so this condition makes the character able to do it in either standing or crouching types.

Hope this helps.

Thank you so much Vans, your code really worked