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
» Call of Duty Nazi Zombies mugen full game released.
by armin_iuf Today at 9:03 pm

» SUPREME SAGAT BETA 2.1 FIX 15 DECEMBER
by drustafah Today at 8:59 pm

» PLS HELP...
by SIRALEXBABY Today at 7:02 pm

» Wish list for Mugen 2018
by crosspotts1.0 Today at 6:53 pm

» Maleficent from Disney
by EDWARDUSK Today at 4:31 pm

» Michael Myers hallowen MK edit
by FlavioCamarao Today at 1:16 pm

Special Features at MMV






Chat on MMV w/ Discord


Share | 
 

 Any possible way to replicate a Hitdef in a custom state?

View previous topic View next topic Go down 
AuthorMessage
Mistah Jorge

avatar

Posts : 2020
Join date : 2013-07-04
Age : 19
Location : Portugal

PostSubject: Any possible way to replicate a Hitdef in a custom state?   June 26th 2017, 3:33 am

imagine this, your character has been hit by a move that puts you in a custom state, this custom state should have:
- the same animation your previous state earlier; - done
- it should have the possibility to hit opponents, as close as the previous state normally would have; - character in custom state now hits opponents, but it's not close to the original hitdefs, want to replicate them as best as i can, but so far i have not knowledge on how to do this, is this possible?
- it should take away a tiny bit of life; - done
Back to top Go down
View user profile
Werewood

avatar

Posts : 5428
Join date : 2014-08-11

PostSubject: Re: Any possible way to replicate a Hitdef in a custom state?   June 27th 2017, 6:40 am

Interesting............but 98% of times when you are being put in P2's/P4's MUGEN custom state(s), your movetype becomes "H", and you know HitDef does not work when movetype=H...... scratch

Can you please put your MUGEN code here for me to study and test to see? Question

Perhaps you might try this Arrow :
- detect whether your MUGEN character is being put in P2's/P4's MUGEN custom state(s) or not, by using your MUGEN way (i.e. VarSet with GameTime in both Statedef -2 & Statedef -3)
- whenever there is such a MUGEN detection, try to make your MUGEN character invisible
- call a MUGEN Helper that makes use of your MUGEN character's PrevStateNo

I say this MUGEN way because I think a MUGEN Helper is the best thing to replicate its Root's state geek
Back to top Go down
View user profile https://onedrive.live.com/?cid=7DB65F02B0BBD12E
 
Any possible way to replicate a Hitdef in a custom state?
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 Help-
Jump to: