YesNoOk
avatar

attachedchar's definition of P2? (Read 27852 times)

Started by crowspaceboy, August 06, 2023, 02:20:54 am
Share this topic:
attachedchar's definition of P2?
#1  August 06, 2023, 02:20:54 am
  • avatar
  • *
    • USA
When using triggers like "p2stateno" and things like that, what player does attachedchar define p2 as? I'm getting some semi buggy behavior where it seems like the p2stateno trigger will only randomly go off, and will randomly either apply to p1 or p2. I know that attachedchar is technically p9 (so I wouldn't be able to use stateno to refer to p1, right?) so I figure what I'm exercising is probably just a result of me misunderstanding something, but I was looking at the ikemen wiki (here) and didn't really understand where to go from there to find this info.
Re: attachedchar's definition of P2?
#2  August 06, 2023, 05:08:05 am
  • ******
  • 90's Kawaii
  • :thinking:
    • Guatemala
You have to use redirections to address any and all of the playable characters.
Re: attachedchar's definition of P2?
#3  August 06, 2023, 07:49:55 pm
  • avatar
  • *
    • USA
Is there a tutorial or documentation anywhere on RedirectID? I was not able to find anything looking through the code library/tipsntricks/mugen class forums. The only thing I've been able to find is the  "AttachedChar - stage interaction" thread which mentions you -can- use RedirectID, but not how. Either that or I'm just too dumb to understand what it's saying :,)
Re: attachedchar's definition of P2?
#4  August 14, 2023, 04:58:16 am
  • ******
  • 90's Kawaii
  • :thinking:
    • Guatemala
Re: attachedchar's definition of P2?
#5  August 18, 2023, 06:21:44 pm
  • ******
    • Portugal
    • network.mugenguild.com/pots/
I haven't messed around with attached chars but I'm relatively sure "P2" works the same as for regular characters. It's more or less a short, practical form of "EnemyNear".

Note that Ikemen also has a new "P2" redirection that is nothing like saying "Player(2)". "P2" serves to redirect triggers to the same char that is referred to by "P2stateno", "P2life", etc. "Player(2)" is literally that.
You can help with Ikemen GO's development by trying out the latest development build and reporting any bugs on GitHub.
My Mugen and Ikemen content can also be found here.