playMusicOnce(clip0, clip1)

From pinHeck Wiki
Revision as of 21:11, 21 September 2014 by Benheck (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Example:

playMusicOnce('M', 'N');

Pauses the currently playing music and plays the new file. Once the new file ends, the previous music is unpaused and continues playing from where it left off.

One use for this is a Random Award. You might have some short music as the random award is picked, and then it will return to whatever music was playing before once done.