YesNoOk
avatar

TechHit Question, custom state commands  (Read 103 times)

Started by Odb718, December 19, 2014, 11:24:46 am
Share this topic:
TechHit Question, custom state commands
#1  December 19, 2014, 11:24:46 am
  • ***
    • USA
So I have an odd question.
If P2 is in a custom state and I use something like;

[State 0, TechHit]
type=changestate
triggerall= time = 17
trigger1= (target,command="holdfwd" || target,command="holdback")
trigger1= (target,command="b" || target,command="c" || target,command="y" || target,command="z")
trigger2= command = "goforbroke"
value= 899

Does it use P1's commands or does it use P2's commands to find out "goforbroke"?
           
Re: TechHit Question, custom state commands
#2  December 19, 2014, 01:04:08 pm
  • ****
  • Hey.
    • Ukraine
    • mugencoder.com

  • Online
I don't really know, but given the nature of custom states, I'd say it uses P1's commands. I guess you can do a simple test by first including a dummy command in P1 and putting your enemy in the custom state and then trying the same for P2 having P1 without the command.

-[Все слова это только слова.]-
Re: TechHit Question, custom state commands
#3  December 19, 2014, 03:58:23 pm
  • ***
    • USA
Good ideas. I've fixed the problem.
 target,command="TechHit"
Uses P1's commands.
If 'TechHit' isnt in P1's commands then mugen crashes, even if P2 has it.
What's crazy is I made up a secondary command name to check I thought I hadnt used in my Dhalsim, but it was in there... Took a little while to track that "bug" down.