The Mugen Fighters Guild

Help => M.U.G.E.N Development Help => MUGEN Class => Topic started by: JustNoPoint on October 17, 2015, 11:47:56 pm

Title: NumPartner (Triggers)
Post by: JustNoPoint on October 17, 2015, 11:47:56 pm
NumPartner returns the number of partners that exist. Neutral players and normal helpers are not considered partners.

Format:
NumPartner

Arguments:
none

Return type:
int

Error conditions:
none

Examples:

Code:
trigger1 = NumPartner = 1
trigger1 = partner, life < 200
  Triggers if the player has a partner with less than 200 life
Title: Re: NumPartner (Triggers)
Post by: Odb718 on April 24, 2017, 06:59:15 pm
These triggers use numpartner, ID, and Partner,ID to find out if you're playing a Team mode as the second member. (P3 &/or P4)
trigger1 = numpartner
trigger1 = ID > partner,ID ;use less than for P1 &/or P2

:)  My Jailbot character uses this for his custom palette selector, to see if he is on a team with another Jailbot.  In which case they will both share the same selection chart.