The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Trying to use PlaySoundAtEntity
FragdaddyXXL Offline
Member

Posts: 136
Threads: 20
Joined: Apr 2012
Reputation: 7
#1
Trying to use PlaySoundAtEntity

void OnStart()
{
    PlaySoundAtEntity("ambience_voice", "ambience_voice.snt", "deformed_man_1", 1.0f, true);
} //omitted lots of code for thread

I'm trying to use PlaySoundAtEntity with no success. I spawn right next to deformed_man_1, and even so, I cannot hear it at all. ambience_voice is in "amnesia the dark descent\sounds\ambience". I've tried it with and without ".snt" in the parameters, tried different internal names, and I've tried different levels.

Dark Seclusion Here
04-14-2012, 01:58 PM
Find


Messages In This Thread
Trying to use PlaySoundAtEntity - by FragdaddyXXL - 04-14-2012, 01:58 PM



Users browsing this thread: 1 Guest(s)