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
Playing Music at start
MaZiCUT Offline
Senior Member

Posts: 536
Threads: 31
Joined: Jun 2012
Reputation: 17
#1
Playing Music at start

I figured it out, this is how to play music at start:


void OnStart()
{
PlayMusic("YourSoundHere",true,1,0,0,false);
}

Hi.
(This post was last modified: 06-23-2012, 01:49 PM by MaZiCUT.)
06-23-2012, 01:34 PM
Website Find
Jagsrs28 Offline
Member

Posts: 101
Threads: 25
Joined: Jun 2012
Reputation: 0
#2
RE: Playing Music at start

Where do you put the sound O.o

Special Custom Story for 2 special people!

[Image: LWFcAl]


06-23-2012, 04:58 PM
Find
MaZiCUT Offline
Senior Member

Posts: 536
Threads: 31
Joined: Jun 2012
Reputation: 17
#3
RE: Playing Music at start

(06-23-2012, 04:58 PM)Jagsrs28 Wrote: Where do you put the sound O.o
In your custom story folder, create a new folder called sound and put your .ogg file in there. it doesen't have to be .ogg but if it's background music like ambient stuff then it should be .ogg

Hi.
06-23-2012, 05:13 PM
Website Find




Users browsing this thread: 2 Guest(s)