AmbientSound

From Eternity Wiki
Revision as of 10:52, 21 November 2020 by Printz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description

This is an ACS built-in function.

Starts an ambient sound.

Usage

void AmbientSound(str sound, int volume)

Parameters

  • sound: name of sound to play.
  • volume: volume at which to play the sound. Range is 0-127.

Return value

Examples

This causes the final boss sound to play in background:

AmbientSound("bossit", 127);

Notes

No particular notes.

This function's identification in zspecial.acs is: ACC internal.

See also