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
How do i play music on a level?
oscar1007 Offline
Member

Posts: 64
Threads: 24
Joined: Oct 2011
Reputation: 0
#9
RE: How do i play music on a level?

(10-03-2011, 03:40 PM)Obliviator27 Wrote: You would want to put it into your OnStart function. So...

void OnStart()
{
PlayMusic(string& asMusicFile, bool abLoop, float afVolume, float afFadeTime, int alPrio, bool abResume);
}
Thank you!
One more question. how much volume should i set it at?



nevermind. i will just try stuff out.

Money can't buy you happiness. But I rather cry in my ferrari.

PROJECT:
http://www.moddb.com/mods/oscar1007
(This post was last modified: 10-03-2011, 04:03 PM by oscar1007.)
10-03-2011, 03:59 PM
Find


Messages In This Thread
How do i play music on a level? - by oscar1007 - 10-03-2011, 09:28 AM
RE: How do i play music on a level? - by oscar1007 - 10-03-2011, 03:59 PM
RE: How do i play music on a level? - by ZyLogicX - 10-03-2011, 06:58 PM



Users browsing this thread: 3 Guest(s)