PlayerTeam: Difference between revisions

no edit summary
(Created page with "{{Template:ACSWarning}} int '''PlayerTeam''' (void) ==Usage== This function returns the activator's team, or the amount of teams if the player is not on a team. This is equi...")
 
No edit summary
Line 4: Line 4:
==Usage==
==Usage==


This function returns the activator's team, or the amount of teams if the player is not on a team. This is equivalent to '''{{Zdoomwiki|GetPlayerInfo}}(PlayerNumber(), PLAYERINFO_TEAM)'''
This function returns the activator's team, or the amount of teams if the player is not on a team. This is equivalent to <code>'''{{Zdoomwiki|GetPlayerInfo}}(PlayerNumber(), PLAYERINFO_TEAM)'''</code>
*'''TEAM_BLUE''' = 0
*'''TEAM_BLUE''' = 0
:The player is on the Blue team.
:The player is on the Blue team.