Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OnEnter Music Start Playing 'I know stupid question xD'
Unearthlybrutal Offline
Posting Freak

Posts: 775
Threads: 12
Joined: May 2011
Reputation: 26
#2
RE: OnEnter Music Start Playing 'I know stupid question xD'

Here.


void PlayMusic(string& asMusicFile, bool abLoop, float afVolume, float afFadeTime, int alPrio, bool abResume);

Plays music.
asMusicFile - the music to play + extension .ogg
abLoop - determines whether a music track should loop
afVolume - volume of the music
afFadeTime - time in seconds until music reaches full volume
alPrio - priority of the music. Note that only the music with the highest priority can be heard! 0 - lowest, 1 - higher, etc.
abResume - if true, playback will be continued from where the track stopped after the call to StopMusic(); if false, the track will be restarted.

When Life No Longer Exists
Full-conversion mod
03-19-2013, 04:44 PM
Website Find


Messages In This Thread
RE: OnEnter Music Start Playing 'I know stupid question xD' - by Unearthlybrutal - 03-19-2013, 04:44 PM



Users browsing this thread: 1 Guest(s)