ThingSound

From Eternity Wiki
Revision as of 10:42, 21 November 2020 by Printz (talk | contribs)
Jump to navigationJump to search

Description

This is an ACS built-in function.

Plays a sound from tagged things.

Usage

ThingSound(int tid, str sound, int volume)

Parameters

  • tid: tid of things to play the sound.
  • sound: name of sound to play.
  • volume: volume of sound to play. 127 is full volume, 0 is quiet.

Return value

Examples

This makes the activator play the telept sound at half volume.

ThingSound(0, "telept", 64);

Notes

No particular notes.

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

See also