YesNoOk
avatar

how to detect partner in simul mode? (Read 616 times)

Started by kooloo, January 15, 2011, 01:19:25 pm
Share this topic:
how to detect partner in simul mode?
#1  January 15, 2011, 01:19:25 pm
  • avatar
  • **
Dear pros,

What code do I need to write to detect my partner..?

for instances, if I wish to do an intro in simul mode when char 1 = kyo and char 2 = iori, what should I write to tell Kyo his partner is Iori?
Re: how to detect partner in simul mode?
#2  January 15, 2011, 07:17:15 pm
  • **
  • Enigma
mmm... eh never used this trigger,I'm thinking

Trigger1 = numparnet = 1 and can use Parnet, redirect

for example.
pos = ceil(Parnet, pos X - pos X)*facing-100,Ceil(Parnet,pos Y )-100
this Pos = -100,-100

and a player to identify a special player
Triggerall = (((numparnet = 1)&&(Partner,Name"*********")&&(Partner,AuthorName "********")))

Como Hacia Hitler Mijo
Last Edit: January 15, 2011, 07:45:51 pm by -True-
Re: how to detect partner in simul mode?
#3  January 15, 2011, 08:39:24 pm
  • ***
  • Life is Life... WTF!!
    • www.mugenimperiolatino.com/index.php
Spoiler, click to toggle visibilty

Sorry i think this syntax isn't the best but the code is ok.

i use something like that

Triggerall = NumPartner
Trigger1 = Partner,Name = "Strin_Name" ;<- Dont be confuse with DisplayName

well to make a custom team intro add an special changestate in you statedef 190 with this trigger.

in iori 190 state

[State 0, ChangeState]
type = ChangeState
triggerall = Numpartner
trigger1 = Partner,Name = "Kyo Kusanagi" && Partner,AuthorName = "Author of kyo"
value = 199
ctrl = 0

in kyo

[State 0, ChangeState]
type = ChangeState
triggerall = Numpartner
trigger1 = Partner,Name = "Iori Yagami" && Partner,AuthorName = "Author of iori"
value = 199
ctrl = 0

so in this example you have a new intro in your statedef 199 XD and here you have to create your intro XD
[

Nice userbars no? :P Make click & Download something nice for your Mugen!!!
________________________________