News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Win Pose problem

Started by Sean Altly, April 11, 2008, 06:07:47 PM

Previous topic - Next topic

Sean Altly

So I've given my newest WIP a win pose where one of my other characters, Moses Maddigan, walks by and drops a briefcase full of money at his feet. It works great and is exactly how I imagined. BUT...I want him to do a different win pose when he's facing Moses Maddigan. I have the pose set up so that he only does it when he wins the entire match. Here is the code I'm using for the win state decider, and I have no idea why it's not working:

;---------------------------------------------------------------------------
; Win state decider
; CNS difficulty: basic
[Statedef 180]
type = S

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

[State 180, 2]
type = ChangeState
triggerall = (Var(0) > 0)
trigger1 = Time = 0
value = 182

[State 180, 3]
type = ChangeState
triggerall = p2name = "Moses"
triggerall = (Var(0) = 0)
triggerall = matchover = 1
trigger1 = Time = 0
value = 183

[State 180, 4]
type = ChangeState
triggerall = p2name != "Moses"
triggerall = (Var(0) = 0)
triggerall = matchover = 1
trigger1 = Time = 0
value = 184


Help! BTW, I checked, his internally specified name in his .def file is "Moses." So I don't know why it's not working. Thanks!

Download Last Bout now!

Bastard Mami

It seems to be related ot the order in which you wrote the sctrls. Try cut and pasting the specific winpose changestates before the generic ones.

Sean Altly

I'm sorry, but that didn't work. :(

Download Last Bout now!

Cyanide

Which states are happening?


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.

Sean Altly

State 184 is happening (184 is the one with Moses dropping the money in front of him). I want 183 to happen when he's facing Moses.

Download Last Bout now!