AnnouncerSound: Difference between revisions

From Zandronum Wiki
(Created page with "{{Template:ACSWarning}} void '''AnnouncerSound''' (str ''sound'', int ''flags'') ==Usage== Plays the specified index from ANCRINFO. If flags is set to 1 the sound is pla...")
 
(typo)
Tag: Source edit
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Template:ACSWarning}}
{{Template:ACSWarning}}
void '''AnnouncerSound''' (str ''sound'', int ''flags'')
void '''AnnouncerSound''' (str ''sound'', bool ''local'')


==Usage==
== Usage ==
Plays a given announcer sound.


Plays the specified index from [[ANCRINFO]]. If flags is set to 1 the sound is played only for the activating player.
=== Parameters ===
* ''sound'': The key in [[ANCRINFO]] to be played.
* ''flags'': If true, the sound is played only for the activator.


==Examples==
== Examples ==
{{noexamples}}


{{noexamples}}
== See also ==
* [[ANCRINFO]]


[[category:ACS Functions]]
[[category:ACS functions]]

Latest revision as of 01:29, 3 July 2022

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

void AnnouncerSound (str sound, bool local)

Usage

Plays a given announcer sound.

Parameters

  • sound: The key in ANCRINFO to be played.
  • flags: If true, the sound is played only for the activator.

Examples

This article lists no examples, please add one.

See also