ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:getplayerteam

GetPlayerTeam

int GetPlayerTeam(int player)

Description

Returns the team the specified player belongs to. Shorthand for GetPlayerInfo(player, PLAYERINFO_TEAM).

Not to be confused with PlayerTeam, which returns the activator's team.

functions/getplayerteam.txt · Last modified: 2017/06/13 16:59 by korshun