AudioManager:PlayMusic

From Data Realms Wiki

Revision as of 00:44, 28 June 2012 by Beautifybot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
SyntaxPlayMusic( * The path to the music file to play.
  • The number of times to loop the song. 0 means play once. -1 means play infinitely until stopped.
  • The volume override for music for this song only. < 0 means no override. )
Description:
Starts playing a certain WAVE, MOD, MIDI, OGG, MP3 file in the music channel.
ReturnsNone.




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools