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
Script Help Hear sound at wrong area
Rowzter Offline
Junior Member

Posts: 44
Threads: 12
Joined: Oct 2012
Reputation: 3
#3
Question  RE: Hear sound at wrong area

(05-13-2014, 06:38 PM)Wapez Wrote: PlaySoundAtEntity("", "door_level_cistern_open.snt", "Player", 0.0f, false);

Should be:

PlaySoundAtEntity("", "door_level_cistern_open.snt", "MY_AREA", 0.0f, false);

"MY_AREA" needs to be the name of a ScriptArea, or an entity. You can name it whatever you want, as long as you rename it in the script accordingly.

That decides where the sound plays from. You made it play from the player.

daim that was a really easy fix xD, im so stupid. thank you very much! Big Grin
05-13-2014, 06:40 PM
Find


Messages In This Thread
Hear sound at wrong area - by Rowzter - 05-13-2014, 06:31 PM
RE: Hear sound at wrong area - by Wapez - 05-13-2014, 06:38 PM
RE: Hear sound at wrong area - by Rowzter - 05-13-2014, 06:40 PM



Users browsing this thread: 1 Guest(s)