YesNoOk
avatar

Command is not performing! (Read 232 times)

Started by Fighting Toys Freak, March 10, 2012, 03:35:56 am
Share this topic:
Command is not performing!
#1  March 10, 2012, 03:35:56 am
  • *
  • New changes, new me!
I have a particular command code that is not performing:
Code:
;Teleport Forward
[State -1, Teleport Forward]
type = ChangeState
value = ifelse((command="fwd_z"),700,701)
triggerall = var(0)=0
triggerall = command = "fwd_z" || command = "back_z"
triggerall = power >= 200
trigger1 = ctrl
trigger1 = time > 30
how come this isn't performing?
Re: Command is not performing!
#2  March 10, 2012, 07:11:55 pm
  • **
  • "..."
    • Chile
  • Remember that order is important in the CMD file. Try moving it before other commands and see if it works.
  • See if the command itself is too hard to pull. Change it to something simple (I use "x" for testing, for example)
  • The "time > 30" trigger seems weird to me, but I'm guessing you're doing it to prevent instantaneous repetitions of the command... I'd comment it and see what happens :S But if you know what you're doing, I guess you can leave it as it is.
  • Make sure var(0)'s is zero when you're testing (as you require it to have that value for the move to execute).  Use the DisplayToClipboard controller to check if this is what is troubling you.

That's what I'd do :S

(also, shouldn't this be in the "M.U.G.E.N Development Help" subforum?)
Re: Command is not performing!
#3  March 12, 2012, 07:43:14 am
  • ***
    • USA

  • Online
Another thing, press the spacebar to make sure you have full super. It may be something youre overlooking.
Go through the triggers and comment them out one by one and see if it works. AFTER you do what SilentProtagonist suggested. He listed the most obvious problems with the changestate. I'd drop the time > 30 first. If youre trying to have a move that only happens when in a particular move there's a better way to set it up.
I would use something like
triggerall = stateno = 240
trigger1 = Command = "fwd_z" && time =[5,20] 
trigger2 = Command = "back_z" && time =[5,20] 
for a second fierce punch to activate. It would only activate once the first fierce punch was past a few sprites. This is just an example so dont try to use it as it is in your character.
           
Re: Command is not performing!
#4  March 12, 2012, 07:48:08 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
time >= 30

Try doing the command after you've walked for at least a second. Then it'll be fine. If that's not what you're after you should not have the time trigger at all.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.