A place to have fun with Mugen
 
PortalHomeFAQMemberlistSearchRegisterComic WIP TrackerDownloadsLog inChat
Website Navigation Help
Translate the Website
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» Subscribe to my channel on youtube
by HastuneSakura Today at 1:58 am

» The King Of Fighters Anthology V3
by pockydeluxe1 Today at 1:45 am

» Minor edit of Non (by Shining and Brucewayne74)
by pockydeluxe1 Today at 1:15 am

» WHAT´S YOUR FAVORITE CHARS FOR A CVS VERSION???
by pockydeluxe1 Today at 12:28 am

» There shall not be an official 2017 Halloween MMV Event.........
by pockydeluxe1 Yesterday at 11:35 pm

» DC'S Precrisis DEADSHOT ( AKA Floyd Lawton)- released
by crosspotts1.0 Yesterday at 11:17 pm

Special Features at MMV





Chat on MMV w/ Discord


Share | 
 

 Check for Perfect Wins

View previous topic View next topic Go down 
AuthorMessage
O Ilusionista

avatar

Posts : 796
Join date : 2012-05-16
Location : Brazil

PostSubject: 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
Back to top Go down
View user profile http://www.brazilmugenteam.com
animaraz



Posts : 1018
Join date : 2012-05-20
Age : 41
Location : León, Gto.

PostSubject: Re: Check for Perfect Wins   January 30th 2016, 11:18 am

Good tip. Thanks men.
Back to top Go down
View user profile
borewood2013

avatar

Posts : 4982
Join date : 2014-08-11

PostSubject: Re: Check for Perfect Wins   January 31st 2016, 5:30 am

Nice MUGEN tip!

What about the WinPerfect MUGEN Trigger please? Question

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........ Neutral
Back to top Go down
View user profile https://onedrive.live.com/?cid=7DB65F02B0BBD12E
O Ilusionista

avatar

Posts : 796
Join date : 2012-05-16
Location : Brazil

PostSubject: 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
Back to top Go down
View user profile http://www.brazilmugenteam.com
logansam

avatar

Posts : 755
Join date : 2013-06-25
Location : Colombia

PostSubject: Re: Check for Perfect Wins   January 31st 2016, 8:05 am

Awesome, i will put This on my chars.
Back to top Go down
View user profile
 
Check for Perfect Wins
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
The Mugen Multiverse :: Mugen :: Mugen Resources-
Jump to: