YesNoOk
avatar

NumPartner (Triggers) (Read 7675 times)

Started by JustNoPoint, October 17, 2015, 11:47:56 pm
Share this topic:
NumPartner (Triggers)
#1  October 17, 2015, 11:47:56 pm
  • ******
    • www.justnopoint.com/
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
Re: NumPartner (Triggers)
#2  April 24, 2017, 06:59:15 pm
  • *****
  • Shame on you!
    • USA
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.
vVv N00bSaibot & Muramasa RoofTop vVv