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[edit]

This is an ACS built-in function.

Starts an ambient sound.

Usage[edit]

void AmbientSound(str sound, int volume)

Parameters[edit]

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

Return value[edit]

Examples[edit]

This causes the final boss sound to play in background:

AmbientSound("bossit", 127);

Notes[edit]

No particular notes.

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

See also[edit]