The Mugen Fighters Guild

Help => M.U.G.E.N Development Help => Topic started by: WastedCoder on January 20, 2022, 11:35:05 pm

Title: How to prevent AI from random jumping? (1.0+)
Post by: WastedCoder on January 20, 2022, 11:35:05 pm
I tried making a command for AI when to use jump, but it resulted into more jumping than usual, because the AI now jumps randomly and when the conditions are met. When I code the same thing for a special, for example, it works as it should, the AI only uses that special when the conditions are met. What am I missing here?
Title: Re: How to prevent AI from random jumping? (1.0+)
Post by: Cyanide on January 23, 2022, 02:26:13 am
The only way to make this work really is to either remove ctrl completely so the default ai can never jump. Or override jump start to send the player back to prevstateno if ai is on and the conditions you want aren't met. You'll need a variable OR to use a special  jump start state for this one.
Title: Re: How to prevent AI from random jumping? (1.0+)
Post by: WastedCoder on January 23, 2022, 02:07:37 pm
The only way to make this work really is to either remove ctrl completely so the default ai can never jump. Or override jump start to send the player back to prevstateno if ai is on and the conditions you want aren't met. You'll need a variable OR to use a special  jump start state for this one.

Got it. Thank you ^^