NOTE: This is an archive of the old wiki.
Expect content to be outdated and links to be broken.

User Tools


python:gempgamerules:cteam

GEMPGameRules::CTeam

Class Description

<python> class CTeam:

int GetRoundScore()
None SetRoundScore( int score )
None IncrementRoundScore( int amount )
int GetMatchScore()
None SetMatchScore( int score )
None IncrementMatchScore( int amount )
None ResetMatchScore()
int GetNumPlayers()
int GetTeamNumber()
string GetName()

</python>

Description

Example Usage

<python> GEMPGameRules.GetTeam( GEGlobal.TEAM_JANUS ).IncrementRoundScore( 10 )

teamJ = GEMPGameRules.GetTeam( GEGlobal.TEAM_JANUS ) scoreJ = teamJ.GetRoundScore() + teamJ.GetMatchScore() </python>

Methods

GetRoundScore

SetRoundScore

IncrementRoundScore

GetMatchScore

SetMatchScore

IncrementMatchScore

ResetMatchScore

GetNumPlayers

GetTeamNumber

GetName

python/gempgamerules/cteam.txt ยท Last modified: 2023/09/03 18:43 by 127.0.0.1