YesNoOk
avatar

More MegaMan Zero help (power bar) (Read 626 times)

Started by RedDragonCats17, May 31, 2018, 11:35:31 pm
Share this topic:
More MegaMan Zero help (power bar)
#1  May 31, 2018, 11:35:31 pm
  • ***
  • Part-Time MUGEN creator
    • USA
    • Skype - reddragoncats17
    • reddragoncats17.weebly.com/
Alright, I decided to get back to MegaMan Zero, and I need help with another thing, it's the power bar. When I'm spamming a bunch of bullets or Zero's saber, he'll automatically perform his charge attack. I want the power bar to go back to 0 when I release the attack buttons.

The code I originally used is this.

Code:
[State 0, PowerSet]
type = PowerSet
trigger1 = command != "hold_y"
value = 0

The power will go back to 0, but Zero will not fire his level 1 shot.

How do I make the power bar go back to 0 when I let go of the attack buttons, and still allow Zero to fire his shots and perform his attacks?
Re: More MegaMan Zero help (power bar)
#2  June 01, 2018, 12:05:59 am
  • ***
  • Part-Time MUGEN creator
    • USA
    • Skype - reddragoncats17
    • reddragoncats17.weebly.com/
I'm gonna rework on Zero's palettes while I wait.
Re: More MegaMan Zero help (power bar)
#3  June 02, 2018, 10:42:37 am
  • *****
  • Shame on you!
    • USA
Just use a statedef -2 varset and check if the button is held and if youre in the states to reset it.
You could do a triggerall for the button and value, then do a number of trigger1,2,3,4 and on, for the sets of state numbers.
vVv Ryuko718 Updated 10/31/22 vVv