|BZFS API Documentation This page contains part of the BZFS API documentation for use by Plug-ins on the BZFS server.|
The bz_eTeamScoreChanged is an API event that is called when a team's score changes.
bz_eTeamScoreChanged returns the bz_TeamScoreChangeEventData_V1 data class.
|team||bz_eTeamType||The team that had a change of score.|
|element||bz_eScoreElement||The type of score that is being changed.|
|thisValue||int||The new amount of element score the team has.|
|lastValue||int||The old amount of element score the team had.|
|eventTime||double||The server time at which the event occurred (in seconds).|
Can be used to record and report scores. Note that the difference between thisValue and lastValue can vary by more than 1 if a player for example, teamkills or kills with a Genocide shot.