Team GivePoints: Difference between revisions

From Zandronum Wiki
(Created Team_GivePoints page)
 
(Forgot an =)
Tag: Source edit
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
'''153:Team_GivePoints (team, points, announce)'''
{{DISPLAYTITLE:Team_GivePoints}}
{{ACSWarning}}
'''153:Team_GivePoints (''team'', ''points'', ''announce'')'''


==Usage==
== Usage ==
=== Parameters ===
* ''team'': Which team to give points to.
* ''points'': How many points to give to the team. The teams are 0 = Blue, 1 = Red, 2 = Green, 3 = Gold.
* ''announce'': Play an announcer sound ("<team> scores!"), and displays a message to all players.


* ''team'': What team to give points to
== Examples ==
* ''points'': How many points to give to the team
{{noexamples}}
* ''announce'':
 
Gives the specified team points. The team argument should be the value returned by [[PlayerTeam]].
 
If announce is true the announcer will announce what team has scored and a message is displayed to all players.


==Example==
[[Category: ACS functions]]
{{noexamples}}
[[Category: Action specials]]

Latest revision as of 01:17, 3 July 2022


This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports.

153:Team_GivePoints (team, points, announce)

Usage

Parameters

  • team: Which team to give points to.
  • points: How many points to give to the team. The teams are 0 = Blue, 1 = Red, 2 = Green, 3 = Gold.
  • announce: Play an announcer sound ("<team> scores!"), and displays a message to all players.

Examples

This article lists no examples, please add one.