YesNoOk
avatar

WinMugen code health percentage. (Read 9529 times)

Started by GoldingCircle, October 11, 2011, 10:18:38 pm
Share this topic:
WinMugen code health percentage.
New #1  October 11, 2011, 10:18:38 pm
  • **
  • "GrayCircle will once be the greatest warrior"
    • i.imgur.com/MdGQY.gif
For you winmugen users out there, if you have trouble displaying a health percentage code in winmugen instead of this:
Code:
trigger1 = life < 250 ;triggers when the character's health is 1/4.
Use this:
Code:
trigger1 = life < Const(data.life)/4 ;triggers when the character's health is 1/4.(depending on the character's data life.)
OR an easier one like  this: (optional and for winmugen plus and up)
Code:
trigger1 = life < lifemax /4 ;triggers when the character's health is 1/4.
No hard, eh.  :sugoi: Have fun.  :sugoi:
"GrayCircle will surpass ever hero one day!"

My Local Name: Fighting Toys Freak.
Last Edit: October 12, 2011, 02:37:48 am by graycircle11
Re: WinMugen code health percentage.
#2  October 12, 2011, 12:03:26 am
  • avatar
  • ******
    • Thailand
Lifemax is not 1.0 specific. Thanks for contributing, though. ;)