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 multiple sounds In a function?
Dizturbed Offline
Member

Posts: 160
Threads: 39
Joined: Jun 2011
Reputation: 0
#5
RE: Playing multiple sounds In a function?

here's an example of using two sounds in one function!
the .ogg files are almost like the .snt files Wink


PHP Code: (Select All)
void monsterspawn1(string &in entity)
{
StartPlayerLookAt("grunt_1", 10.0f, 10.0f, "");
SetEntityActive("grunt_1", true);
AddEnemyPatrolNode("grunt_1", "PathNodeArea_12", 0, "");
PlayGuiSound("react_pant2.ogg", 0.4f);
PlayGuiSound("scare_wall_stomp1.ogg", 2.0f);
AddTimer("Timer", 2.5f, "Creepy2");
} 

07-22-2011, 04:34 PM
Find


Messages In This Thread
RE: Playing multiple sounds In a function? - by Dizturbed - 07-22-2011, 04:34 PM



Users browsing this thread: 1 Guest(s)