Id of sound effect to be played. Will fail if not an integer.
Optionalloops: numberHow many times the sound is played. By default the sound will be played a single time. If the amount played is 0 or negative the sound will infinitely loop. Will resort to default if not an integer.
Optionaldelay: numberDelay before sound plays. The unit of delay is 1/50th of a second. By default it is 0. Will resort to default if not an integer.
Plays the specified sound effect. Check game vals documentation to see what sound line up with what id.