O Ilusionista
Posts : 1307 Join date : 2012-05-16 Location : Brazil
| Subject: Check for Perfect Wins January 30th 2016, 8:27 am | |
| A friend of mine asked me if there is a way to check if its possible to use different winposes if the character wins by perfect. Here is the code: - Quote :
- [State 0, ChangeState]
type = ChangeState trigger1 = Life = Lifemax value = *insert state number here* This code should come before any other changestate in the win state decider (like 190). Plus, you can use the same logic for Victory quotes for perfect wins: - Quote :
- [State 0, VictoryQuote]
type = VictoryQuote trigger1 = Life = Lifemax value = 1 | |
|
animaraz
Posts : 1804 Join date : 2012-05-20 Age : 48 Location : León, Gto.
| Subject: Re: Check for Perfect Wins January 30th 2016, 11:18 am | |
| | |
|
Werewood
Posts : 5691 Join date : 2014-08-11
| Subject: Re: Check for Perfect Wins January 31st 2016, 5:30 am | |
| Nice MUGEN tip! What about the WinPerfect MUGEN Trigger please? I tried a test with WinPerfect and it worked too: - Code:
-
; Win state decider ; CNS difficulty: basic [Statedef 180] type = S ctrl = 0 sprpriority = 2
[State 180, ChangeState] type = ChangeState triggerall = Win trigger1 = !WinPerfect value = 181
[State 180, ChangeState] type = ChangeState triggerall = Win trigger1 = WinPerfect value = 182
;[State 180, ChangeState] ;type = ChangeState ;trigger1 = !Win ;value = 0 ;ctrl = 1 I didn't do test with VictoryQuote though.......as I rarely use VictoryQuote........ | |
|
O Ilusionista
Posts : 1307 Join date : 2012-05-16 Location : Brazil
| Subject: Re: Check for Perfect Wins January 31st 2016, 6:42 am | |
| Yes it works too. I forgot about that trigger when I made that code, lol | |
|
logansam
Posts : 790 Join date : 2013-06-25 Location : Colombia
| Subject: Re: Check for Perfect Wins January 31st 2016, 8:05 am | |
| Awesome, i will put This on my chars. | |
|
Sponsored content
| Subject: Re: Check for Perfect Wins | |
| |
|