YesNoOk
avatar

Question About Move Variations (Read 1628 times)

Started by Karynthian, April 06, 2018, 11:41:05 pm
Share this topic:
Question About Move Variations
New #1  April 06, 2018, 11:41:05 pm
  • avatar
    • USA
Ok, so I've been trying to remap some moves in the command file, but there's one thing I'm not sure of -

Code:
[State -1, goushoryuuken]
type = changestate
value = 1100
triggerall = !AIlevel
triggerall = command = "dfx" || command = "dfy" || command = "dfz"
triggerall = roundstate = 2 && statetype != A
trigger1 = ctrl || ((stateno = [200, 299]) && time <= 2) || (stateno = 200 || stateno = 230 || stateno = 245)
trigger2 = (stateno = [200, 255]) && stateno != 207 && (movecontact = [1, 8])
trigger3 = var(20) && (stateno = [200, 289])
trigger4 = var(20) && ((stateno = [1000, 2999]) || stateno = 52 && (prevstateno = [1000, 2999])) && movecontact
trigger5 = var(20) && (stateno = [1000, 2999]) && numhelper(stateno + 5)
trigger5 = helper(stateno + 5), var(3)

With this move as an example, my question here is this - three commands are used here for triggers - dfx, dfy, and dfz.
However, these three commands actually trigger different degrees of shoryuuken, meaning dfx causes the character to
make a smaller DP than dfy and dfz.

SO - where in the code does it define which command equals which variation of the move?
Say I wanted to put in yet another command that you can use as a trigger, how do I specify which variation of the move to trigger?
Last Edit: April 07, 2018, 02:13:03 am by Karynthian
Re: Question About Move Variations
#2  April 07, 2018, 01:03:07 am
  • ***
  • From the Republic of the Little Bananas
    • Brazil
Probably in the statedef 1100 there is a var that changes it's value according to the command. Something like this:
Code:
[State 1100, VarSet]
type = VarSet
trigger1 = !time
var(33) = ifElse(Command = "x",0,1)
Re: Question About Move Variations
New #3  April 07, 2018, 01:36:10 am
  • avatar
    • USA
Probably in the statedef 1100 there is a var that changes it's value according to the command. Something like this:
Code:
[State 1100, VarSet]
type = VarSet
trigger1 = !time
var(33) = ifElse(Command = "x",0,1)

Here it is:
Spoiler, click to toggle visibilty

What exactly am I looking for?  And what do I change in the original code based on this?

EDIT: I figured it out!
Had to find the command I wanted to mimic (in this case - command = "dfz") and then just || and input my other commands after it.
Was easier than I expected.  Thanks for the help!
Last Edit: April 07, 2018, 02:11:57 am by Karynthian