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 trigger a sound file at a specific area?
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#2
RE: How Do I trigger a sound file at a specific area?

Quote:void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_1", "Sound", true, 1;
}

void Sound(sting &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity(string& asSoundName, string& asSoundFile, string& asEntity, float afFadeTime, bool abSaveSound);
}
Please, head over here: http://wiki.frictionalgames.com/hpl2/amn...ons#player

It will tell you what you how and what you need to do what you want. Research is key.

(This post was last modified: 01-09-2012, 07:23 AM by flamez3.)
01-09-2012, 07:19 AM
Find


Messages In This Thread
RE: How Do I trigger a sound file at a specific area? - by flamez3 - 01-09-2012, 07:19 AM



Users browsing this thread: 1 Guest(s)