transformation configuration

Started by getleft, September 09, 2021, 02:25:03 AM

Previous topic - Next topic

getleft

Hey guys im in need of an expert. In my mugen 1.1 i have a character named kaku(from one piece). He has a mode that can be activated by holding a button and the moment this button is released i am forced back into my normal state (the button depends on what you configured it to in options but for simplicity lets just say "c") my problem is i dont want to hold C to stay transformed. I want it to be a toggle transformation(i press to transform and press it again to detransform) how would i go about doing that? I edited the Cmd file and i kinda got it but im stuck because now whenever i push the c it transforms but however when i press it again it doesnt do anything and im stuck in the transformation. I need help.
This is the transformation code to start it:

Kirin mode start
[State -1, Kirin mode Start]
type = ChangeState
value = 220
triggerall = var(2) != 1
triggerall = command = "c"
trigger1 = statetype != A
trigger1 = ctrl

His mode end code is
Kirin mode terminación
[State -1, Kirin mode terminación]
type = ChangeState
value = 225
triggerall = var(9) != 1
triggerall = var(2) = 1
triggerall = command != "hold_c"
trigger1 = statetype != A
trigger1 = ctrl

NotAGoodName

Just change the CMD in the state that changes it back to also be the C command.  It won't overlap because of the other triggers.

[State -1, Kirin mode terminación]
type = ChangeState
value = 225
triggerall = var(9) != 1
triggerall = var(2) = 1
triggerall = command = "c"
trigger1 = statetype != A
trigger1 = ctrl

DJMouF

I have transformed chars (DBZ) so I know a little something about your issue. do you have the variable set up correctly? Inbox me when you can