Team GivePoints: Difference between revisions

no edit summary
(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]]