Posted by eishiba
in AnimElem vs time (Started by eishiba November 19, 2023, 12:11:19 am
Board: M.U.G.E.N Development Help
Board: M.U.G.E.N Development Help
You can use something like this:this works quite well. i didnt think about the holdfwd.
[State -1]
type =ChangeState
value =
triggerall = command = "a" && command = "holdfwd" ;<------this code here for the dash shoulder move, swith 'command = "a"' for the button
trigger1 = StateType != A && ctrl
then for the corresponding normal attack (not the dash attack)
[State -1]
type =ChangeState
value =
triggerall = command = "a" && command != "holdfwd" ;<------this code here for the normal move, swith 'command = "a"' for the button
trigger1 = StateType != A && ctrl
hope this helps
MGMURROW
So with that question it sounds like you enter a dash state; Probably Statedef 100.
Then you press a button to do an attack. Right?
If you press the attack button and you teleport back to where you started, your statedef 100's animation/velset/posset is causing problems.
If you have specific questions about specific things in mugen code, you can use Mugen Class to read exactly what things do.
https://mugenguild.com/forum/topics/hitdef-sctrls-169450.0.html
and for Projectiles' attributes
https://mugenguild.com/forum/topics/projhit-triggers-169927.0.html
Look in the Master Thread for anything you want.