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
Script Help Sound File isn't working?
MissMarilynn Offline
Member

Posts: 77
Threads: 23
Joined: Oct 2011
Reputation: 1
#1
Sound File isn't working?

void ClockScare(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("explosion", "explosion_rock_large.snt", "clock_grandfather_1", 0, false);
PlaySoundAtEntity("", "react_scare", "Player", 0, false);
StartScreenShake(1, 1.0f, 0.5f, 5.0f);
GiveSanityDamage(5.0f, true);
}

Everything else works except the sound. :/

Just to check: What is suppose to go in the clock_grandfather_1 space? I put an entity...is it suppose to be an area?
01-10-2012, 01:58 AM
Find


Messages In This Thread
Sound File isn't working? - by MissMarilynn - 01-10-2012, 01:58 AM
RE: Sound File isn't working? - by flamez3 - 01-10-2012, 02:16 AM
RE: Sound File isn't working? - by Statyk - 01-10-2012, 02:50 AM
RE: Sound File isn't working? - by flamez3 - 01-10-2012, 03:32 AM
RE: Sound File isn't working? - by MissMarilynn - 01-10-2012, 03:30 AM



Users browsing this thread: 1 Guest(s)