News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Problem with Hold Button Command

Started by Kuchiki, January 06, 2012, 01:43:16 AM

Previous topic - Next topic

Kuchiki

I'm working on a full game in which each character have a Power Charge activated by holding s. It works finely for the human players, but the CPU doesn't seem to use it in the right way, it doesn't hold the button, so it doesn't charge its power.

Any solution for this? Thanks


EDIT: I'm using Winmugen

Cyanide

You need to use one of the old AI activation methods to define whether the character is PC controlled or not. Then use the variable instead of hold command to define when it should leave the state.

You will need more conditions for this to work properly, otherwise it'll just attempt to power up to 3000.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.