Team GivePoints: Difference between revisions

From Zandronum Wiki
(Created Team_GivePoints page)
 
No edit summary
Tag: Source edit
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]]

Revision as of 02:13, 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.