void SoundSequenceOnActor (int tid, str sndseq);
Plays a sound sequence defined in SNDSEQ lump.
First make sure that you have defined in a SNDINFO lump in your mod the sounds that will be used by your sequence, for example:
Here A_AMB1 is the name of a sound file included in the mod.
Then define a sound sequence in a SNDSEQ lump. For example:
:MachineryLoop1 playrepeat world/machinery1 end
SoundSequenceOnActor (1, "MachineryLoop1");