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
Music OnStart?
TeamSD Offline
Member

Posts: 51
Threads: 3
Joined: Apr 2012
Reputation: 2
#2
RE: Music OnStart?

(10-01-2012, 09:34 AM)srobb Wrote: How do I get music to play as soon as the player enters the map? It's just ambient music, nothing special.
void OnEnter()
{
PlayMusic("track_you_want_to_play.ogg", true, 2, 2, 0, true);
}

10-01-2012, 09:47 AM
Find


Messages In This Thread
Music OnStart? - by srobb - 10-01-2012, 09:34 AM
RE: Music OnStart? - by TeamSD - 10-01-2012, 09:47 AM
RE: Music OnStart? - by srobb - 10-01-2012, 10:11 AM
RE: Music OnStart? - by TeamSD - 10-01-2012, 10:40 AM
RE: Music OnStart? - by FlawlessHappiness - 10-01-2012, 10:41 AM
RE: Music OnStart? - by srobb - 10-01-2012, 11:31 AM
RE: Music OnStart? - by i3670 - 10-01-2012, 11:48 AM
RE: Music OnStart? - by srobb - 10-01-2012, 11:51 AM



Users browsing this thread: 1 Guest(s)