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
starting sound
xtron Offline
Senior Member

Posts: 402
Threads: 37
Joined: May 2011
Reputation: 2
#1
starting sound

I can't figure out how to make like 3 sounds play when I first enter the map. I guess it has something to do with the void OnEnter and the playsound function but I can't get it to work! Angry
Nevermind! I found out.

[Image: 44917299.jpg]Dubstep <3
(This post was last modified: 05-29-2011, 08:34 PM by xtron.)
05-29-2011, 08:29 PM
Find
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#2
RE: starting sound

Rage? Simple to answer.

void OnStart()
{
     PlaySoundAtEntity("", "SoundFile1.snt", "Location", 0, false);
     PlaySoundAtEntity("", "SoundFile2.snt", "Location", 0, false);
     PlaySoundAtEntity("", "SoundFile3.snt", "Location", 0, false);
}

(This post was last modified: 05-29-2011, 08:59 PM by Kyle.)
05-29-2011, 08:58 PM
Find




Users browsing this thread: 1 Guest(s)