SoundSequenceOnPolyobj

From ZDoom Wiki
Jump to navigation Jump to search

void SoundSequenceOnPolyobj (int polynum, str sndseq);

Usage

Plays a sound sequence defined in SNDSEQ lump. Note that a polyobject can play only a single sequence at a time: if the same script uses SoundSequenceOnPolyobj followed by an instruction to move or rotate the polyobject, the sound sequence will be overridden by the one from the movement (even if it is silent or undefined). Instead, SoundSequenceOnPolyobj should be called after the movement instruction.

Examples

Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.


See also