scmJS docs

Play WAV

Plays a sound for the player. The file is one stored in the map archive, which the editor's Sound Editor adds, or one of the game's own sounds by its path. Duration is the sound's length in milliseconds, which editors fill in from the file.

Action 8 · Play WAV(WAV, Duration);

Argument Takes Stored in the action
WAV the name of a sound file in the map, stored as a string-table entry bytes 8–11
Duration a time in milliseconds bytes 12–15
Play WAV("staredit\\wav\\alarm.wav", 1500);