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 not playing
eagledude4 Offline
Member

Posts: 144
Threads: 14
Joined: Dec 2011
Reputation: 0
#1
Sound not playing

OnStart:
PlaySoundAtEntity("", "Custom/big_clock_chime.snt", "clock_grandfather_1", 0.0f, false);

big_clock_chime.snt:
<SOUNDENTITY>
  <SOUNDS>
      <Main>
          <Sound File="Custom/big_clock_chime" />
      </Main>
  </SOUNDS>
  <PROPERTIES Volume="0.5" MinDistance="20" MaxDistance="30" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="True" Loop="True" Use3D="True" Blockable="True" BlockVolumeMul="0.5" Priority="0" />
</SOUNDENTITY>

I want the sound to play at the clock entity as soon as the game starts, but it doesn't. The sound file is in redist/sounds/Custom.


Its hard to see the truth when you've been blinded by lies.
(This post was last modified: 01-11-2012, 11:06 PM by eagledude4.)
01-11-2012, 11:04 PM
Find


Messages In This Thread
Sound not playing - by eagledude4 - 01-11-2012, 11:04 PM
RE: Sound not playing - by Elven - 01-11-2012, 11:08 PM
RE: Sound not playing - by flamez3 - 01-12-2012, 02:01 AM
RE: Sound not playing - by eagledude4 - 01-12-2012, 02:02 AM
RE: Sound not playing - by flamez3 - 01-12-2012, 02:11 AM
RE: Sound not playing - by eagledude4 - 01-12-2012, 02:12 AM
RE: Sound not playing - by flamez3 - 01-12-2012, 02:18 AM
RE: Sound not playing - by eagledude4 - 01-12-2012, 02:22 AM
RE: Sound not playing - by flamez3 - 01-12-2012, 02:26 AM
RE: Sound not playing - by eagledude4 - 01-12-2012, 02:32 AM
RE: Sound not playing - by flamez3 - 01-12-2012, 03:45 AM
RE: Sound not playing - by eagledude4 - 01-12-2012, 03:46 AM
RE: Sound not playing - by flamez3 - 01-12-2012, 03:52 AM
RE: Sound not playing - by eagledude4 - 01-12-2012, 06:17 AM
RE: Sound not playing - by flamez3 - 01-12-2012, 06:29 AM
RE: Sound not playing - by Your Computer - 01-12-2012, 07:24 AM
RE: Sound not playing - by rallelol - 01-12-2012, 09:24 AM
RE: Sound not playing - by rallelol - 01-12-2012, 05:06 PM
RE: Sound not playing - by eagledude4 - 01-13-2012, 03:38 AM
RE: Sound not playing - by flamez3 - 01-13-2012, 05:14 AM
RE: Sound not playing - by eagledude4 - 01-13-2012, 05:16 AM
RE: Sound not playing - by flamez3 - 01-13-2012, 05:17 AM
RE: Sound not playing - by eagledude4 - 01-13-2012, 05:36 AM
RE: Sound not playing - by flamez3 - 01-13-2012, 05:48 AM
RE: Sound not playing - by eagledude4 - 01-13-2012, 04:15 PM
RE: Sound not playing - by flamez3 - 01-13-2012, 04:46 PM
RE: Sound not playing - by eagledude4 - 01-13-2012, 04:48 PM
RE: Sound not playing - by flamez3 - 01-13-2012, 04:49 PM
RE: Sound not playing - by eagledude4 - 01-13-2012, 04:50 PM
RE: Sound not playing - by flamez3 - 01-13-2012, 04:53 PM
RE: Sound not playing - by eagledude4 - 01-15-2012, 05:59 AM
RE: Sound not playing - by eagledude4 - 01-16-2012, 11:23 PM
RE: Sound not playing - by Statyk - 01-17-2012, 12:01 AM
RE: Sound not playing - by eagledude4 - 01-17-2012, 12:03 AM
RE: Sound not playing - by Statyk - 01-17-2012, 02:24 AM
RE: Sound not playing - by eagledude4 - 01-17-2012, 02:42 AM
RE: Sound not playing - by flamez3 - 01-17-2012, 02:36 AM
RE: Sound not playing - by flamez3 - 01-17-2012, 02:55 AM
RE: Sound not playing - by eagledude4 - 01-17-2012, 02:56 AM



Users browsing this thread: 2 Guest(s)