News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Roll/Dodge Command

Started by DingusMB, April 09, 2017, 06:18:18 PM

Previous topic - Next topic

DingusMB

I have 3 states for dodging, rolling forward and backwards, theyre supposed to be Z and Z while holding Fwd and Bwd, but the dodge command doesnt let the others work, is it not possible?

;---------------------------------------------------------------------------
;Dodge
[State -1, Dodge]
type = ChangeState
value = 300
triggerall = command = "z"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;RollFront
[State -1, RollFront]
type = ChangeState
value = 301
triggerall =  command = "z" && command = "holdfwd"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;RollBwd
[State -1, RollBwd]
type = ChangeState
value = 302
triggerall = command = "z" && command = "holdback"
trigger1 = statetype != A
trigger1 = ctrl

MGMURROW

all commands that arent just a button push have to be above the button you are using for the command in the CMD.

ex: triggerall =  command = "z" && command = "holdfwd"
      this changestate would need to be in front of command = "z" since it is more than just the button command

so try this in the CMD

;RollFront
[State -1, RollFront]
type = ChangeState
value = 301
triggerall =  command = "z" && command = "holdfwd"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;RollBwd
[State -1, RollBwd]
type = ChangeState
value = 302
triggerall = command = "z" && command = "holdback"
trigger1 = statetype != A
trigger1 = ctrl
;---------------------------------------------------------------------------
;Dodge
[State -1, Dodge]
type = ChangeState
value = 300
triggerall = command = "z"
trigger1 = statetype != A
trigger1 = ctrl

hope this helps

MGMURROW

DingusMB

dammit, i just realized i had the same problem with a super like 2 months ago and this was the solution, so dumb
thanks man