The Mugen Fighters Guild

Help => M.U.G.E.N Development Help => Topic started by: Max Energy Master on April 08, 2020, 01:16:08 am

Title: how to make an automatic button to escape from a grab?
Post by: Max Energy Master on April 08, 2020, 01:16:08 am
hello friends i found a code on the internet that makes you escape from a grab by pressing a certain key is perfect but i would like it to be pressed automatically without me pressing it when i get caught there is a way to do it

this is the code:


[State -2]
Type=Selfstate
Trigger1=var(44)!=Gametime
Trigger1=command="breakfree"
value= 120
movetype=I



[State -3]
Type=Varset
Trigger1=1
var(44)=Gametime
ignorehitpause=1
Title: Re: how to make an automatic button to escape from a grab?
Post by: Nep Heart on April 08, 2020, 01:20:28 am
 That won't work since the command doesn't exist within the attacker's CMD. Yes, when you're in custom state, you draw commands from the attacker's list of commands, not your own. I've had frustration with this issue for a while when I started out since Burst wasn't working until I eventually figured out a solution. Use a helper to buffer the command to circumvent the custom state limitation. You can look into my characters to see how I do it for Burst command buffering,
Title: Re: how to make an automatic button to escape from a grab?
Post by: Max Energy Master on April 08, 2020, 01:23:58 am
ok thanks again i will take a look yes