AnnouncerSound: Difference between revisions

From Zandronum Wiki
No edit summary
Tag: Source edit
No edit summary
Tag: Source edit
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 [[ANCDRINFO]] 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]]

Revision as of 02: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 ANCDRINFO 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