News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Holding Command Problem

Started by Tamáshii, November 12, 2008, 04:41:50 PM

Previous topic - Next topic

Tamáshii

Well hello, i have a problem:
i have a guarding , its holding x and if i dont hold x anymore the guard stops , yeah everything is allright but i want that after 5 seconds the guard stops from itself and goes to normal state me without releasing the x-button,

someone knows the answer? i tried it with this code but it doesnt work somehow:

[State 120, Stop Guarding]
type = ChangeState
trigger1 = time = 300 || command != "hold_x"
value = 140
;ctrl = 1

i know there are more guarding codes and i edited them too since they are all the same

hopefully someone can help:P


Thx M O M O K O
Thx SpitFire
Click Sig1 For My New Site

XGargoyle

time should be equal or more than 300


XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
http://paypal.me/XGargoyle  <-- Donations welcome!

Anjel

The problem is that the char changes back to guard as soon as it gets back to state 0.
My shitty mugen stuff:

Tamáshii

#3
changes back to guard as soon as it gets back to state 0 ? dont really understand that term Oo

anyway, here is what i did with seperated triggers:

[State -1, Block]
type = ChangeState
value = 120
Triggerall = command != "hold_x"
trigger1 = command = "x"
trigger1 = ctrl

butstill nothing happens


Edit:  Solved


Thx M O M O K O
Thx SpitFire
Click Sig1 For My New Site