play_sound_now


The play_sound_now mission scripting command plays a WAV file. The WAV file must be encoded in 44,100 Hz, 16 bit Mono format.

 

Attribute

Valid Values

Optional?

Description

filename

text

 

Name of the WAV file to play.  This can be an absolute or relative file path.  Prior to version 2.7, it was relative to the mission's directory.  As of 2.7, it is relative to the Artemis folder.

 

If the file does not exist, the server will crash.