PlayMusic

Description

Plays the given music file only and loops it if desired. This is a change from previous versions where AGK would continue playing the next music track after this one. Now you must use the additional parameters of PlayMusic to play tracks one after the other.

Only one music file may be playing at any one time.

Definition

PlayMusic( iID, bLoop )

PlayMusic( iID )

PlayMusic()

PlayMusic( iID, bLoop, iStartID, iEndID )

Parameters