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'
VeNoMzTeamHysterical Offline
Member

Posts: 240
Threads: 36
Joined: Dec 2012
Reputation: 3
#3
RE: OnEnter Music Start Playing 'I know stupid question xD'

(03-19-2013, 04:44 PM)Unearthlybrutal Wrote: 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.
But what should the Entity be just an AddEntityCallback?

http://www.frictionalgames.com/forum/thread-21719.html
Evil Awaking Work In Progress!
Hours Spend 472.
03-19-2013, 04:52 PM
Website Find


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



Users browsing this thread: 1 Guest(s)