Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help How to create a sound trigger area?
BlueFury Offline
Senior Member

Posts: 470
Threads: 30
Joined: May 2011
Reputation: 9
#2
RE: How to create a sound trigger area?

I think it was:
void PlaySoundAtEntity(string& asSoundName, string& asSoundFile, string& asEntity, float afFadeTime, bool abSaveSound);
asSoundName - internal name
asSoundFile - the sound to use + extension .snt
asEntity - the entity to create the sound at, can be “Player”
afFadeTime - time in seconds the sound needs to fade




Correct me if i'm wrong.

Sticks and stones may break our bones, but words will break our hearts. – Robert Fulghum
(This post was last modified: 01-01-2012, 06:56 PM by BlueFury.)
01-01-2012, 06:51 PM
Find


Messages In This Thread
How to create a sound trigger area? - by Viuffuz - 01-01-2012, 06:49 PM
RE: How to create a sound trigger area? - by BlueFury - 01-01-2012, 06:51 PM



Users browsing this thread: 1 Guest(s)