YesNoOk
avatar

Changing Conditions for Victory Animation (Read 196 times)

Started by PAVGN, March 17, 2012, 12:47:46 am
Share this topic:
Changing Conditions for Victory Animation
New #1  March 17, 2012, 12:47:46 am
  • ***
    • USA
    • stacksmash.kontek.net/
How do I change the conditions of a victory animation from being one that's activated by hold down a certain button, to one that's selected randomly? I'm using Mugen 1.0.
Last Edit: March 19, 2012, 10:40:03 pm by PAVGN
Re: Changing Conditions for Victory Animation
#2  March 17, 2012, 01:16:10 pm
  • **
  • Im MAKE, dead people
Go to Cns file
In 180 values (generally is here)

[State 180, 3] ;Choose win2
type = VarSet
trigger1 = Command = "hold_b"
v = 1
value = 2
OR
[State 180,ChangeState]
type = ChangeState
triggerall = Time = 0
trigger1 = Command = "hold_x"
value = 181

If you change trigger 1 or 2 for triggerall, the winpose only will make press the button/s.
Re: Changing Conditions for Victory Animation
#3  March 17, 2012, 11:08:40 pm
  • ***
    • USA
    • stacksmash.kontek.net/
I said from holding a button to randomly selected.
Re: Changing Conditions for Victory Animation
#4  March 19, 2012, 04:10:54 pm
  • **
  • Im MAKE, dead people
Oh, sorry...
[State 180, 0]
type = VarRandom
trigger1 = Time = 0
v = 1
range = 0,1

[State 180, 1]
type = ChangeState
trigger1 = Var(1) = 0
trigger1 = Time = 0
value = 181

[State 180, 1]
type = ChangeState
trigger1 = Var(1) = 1
trigger1 = Time = 0
value = 182
Re: Changing Conditions for Victory Animation
#5  March 19, 2012, 10:38:26 pm
  • ***
    • USA
    • stacksmash.kontek.net/
Thanks for your help, but what you said wasn't working for me so I decided to look at the code of another character and copy It. After I did that, I saw what I was doing wrong with what you gave me. Thanks for your help though.