GetSoundInstanceLoopCount

Description

If the sound was played with looping turned on this command returns the number of loops completed so far. If the instance is using a fixed number of loops then it will never actually reach that loop count value as it will be immediately deleted upon reaching the end of its last loop. The instance ID is the value returned from PlaySound when you initiated the playing of the sound.

Definition

integer GetSoundInstanceLoopCount( iID )

Parameters