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
Scripting fatal errors?
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#83
RE: Scripting fatal errors?

(08-07-2013, 03:12 PM)Rapsis Wrote: Nope, can't figure it out. Here's the script and the soundentity:
void OnStart()
{
    PlaySoundAtEntity("breathrun.ogg", "breathrun.snt", "Player", 1, false);
    PreloadSound("breathrun.snt");
}


<SOUNDENTITY>
  <SOUNDS>
      <Main>
          <Sound File="breathrun.ogg" />
      </Main>
  </SOUNDS>
  <PROPERTIES Volume="1" MinDistance="1" MaxDistance="10" Random="0" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="True" Use3D="True" Blockable="True" BlockVolumeMul="0.7" Priority="0" />
</SOUNDENTITY>

void OnStart()
{
    PlaySoundAtEntity("breathrun", "breathrun.snt", "Player", 1, false);
    PreloadSound("breathrun.snt");
}



Try this script, perhaps it works.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
08-07-2013, 03:20 PM
Find


Messages In This Thread
Scripting fatal errors? - by Rapsis - 10-14-2012, 11:23 AM
RE: Scripting fatal errors? - by Apjjm - 10-14-2012, 11:26 AM
RE: Scripting fatal errors? - by Rapsis - 10-14-2012, 11:28 AM
RE: Scripting fatal errors? - by Rapsis - 10-14-2012, 12:33 PM
RE: Scripting fatal errors? - by The chaser - 10-14-2012, 01:14 PM
RE: Scripting fatal errors? - by Rapsis - 10-14-2012, 01:39 PM
RE: Scripting fatal errors? - by The chaser - 10-14-2012, 02:57 PM
RE: Scripting fatal errors? - by Rapsis - 10-14-2012, 04:24 PM
RE: Scripting fatal errors? - by Tomato Cat - 10-14-2012, 04:30 PM
RE: Scripting fatal errors? - by Rapsis - 10-14-2012, 04:36 PM
RE: Scripting fatal errors? - by Tomato Cat - 10-26-2012, 03:47 PM
RE: Scripting fatal errors? - by The chaser - 10-14-2012, 05:46 PM
RE: Scripting fatal errors? - by Rapsis - 10-14-2012, 08:09 PM
RE: Scripting fatal errors? - by Adny - 10-15-2012, 01:55 AM
RE: Scripting fatal errors? - by Rapsis - 10-26-2012, 10:32 AM
RE: Scripting fatal errors? - by The chaser - 10-26-2012, 11:33 AM
RE: Scripting fatal errors? - by Rapsis - 10-26-2012, 11:37 AM
RE: Scripting fatal errors? - by ZodiaC - 10-26-2012, 12:50 PM
RE: Scripting fatal errors? - by Rapsis - 10-26-2012, 04:29 PM
RE: Scripting fatal errors? - by The chaser - 10-26-2012, 04:35 PM
RE: Scripting fatal errors? - by Rapsis - 10-26-2012, 04:38 PM
RE: Scripting fatal errors? - by The chaser - 10-26-2012, 04:42 PM
RE: Scripting fatal errors? - by Rapsis - 10-26-2012, 04:49 PM
RE: Scripting fatal errors? - by The chaser - 10-26-2012, 05:04 PM
RE: Scripting fatal errors? - by Rapsis - 10-26-2012, 06:32 PM
RE: Scripting fatal errors? - by Statyk - 10-26-2012, 06:48 PM
RE: Scripting fatal errors? - by Rapsis - 10-26-2012, 07:15 PM
RE: Scripting fatal errors? - by Statyk - 10-26-2012, 07:22 PM
RE: Scripting fatal errors? - by Rapsis - 10-27-2012, 11:28 AM
RE: Scripting fatal errors? - by Rapsis - 10-27-2012, 02:15 PM
RE: Scripting fatal errors? - by Rapsis - 10-27-2012, 03:20 PM
RE: Scripting fatal errors? - by Rapsis - 10-27-2012, 04:57 PM
RE: Scripting fatal errors? - by The chaser - 10-27-2012, 08:21 PM
RE: Scripting fatal errors? - by Rapsis - 10-28-2012, 07:52 AM
RE: Scripting fatal errors? - by Rapsis - 10-28-2012, 11:03 AM
RE: Scripting fatal errors? - by ZodiaC - 10-28-2012, 11:07 AM
RE: Scripting fatal errors? - by Rapsis - 10-28-2012, 11:23 AM
RE: Scripting fatal errors? - by The chaser - 10-28-2012, 11:32 AM
RE: Scripting fatal errors? - by The chaser - 10-28-2012, 11:15 AM
RE: Scripting fatal errors? - by Rapsis - 10-28-2012, 11:35 AM
RE: Scripting fatal errors? - by The chaser - 10-28-2012, 11:42 AM
RE: Scripting fatal errors? - by Your Computer - 10-28-2012, 12:08 PM
RE: Scripting fatal errors? - by Rapsis - 10-28-2012, 12:12 PM
RE: Scripting fatal errors? - by The chaser - 10-28-2012, 12:24 PM
RE: Scripting fatal errors? - by Rapsis - 10-28-2012, 05:14 PM
RE: Scripting fatal errors? - by The chaser - 10-28-2012, 05:27 PM
RE: Scripting fatal errors? - by Rapsis - 10-28-2012, 08:07 PM
RE: Scripting fatal errors? - by Rapsis - 10-29-2012, 11:28 AM
RE: Scripting fatal errors? - by Rapsis - 11-08-2012, 01:34 PM
RE: Scripting fatal errors? - by The chaser - 11-08-2012, 02:11 PM
RE: Scripting fatal errors? - by Rapsis - 11-08-2012, 03:04 PM
RE: Scripting fatal errors? - by The chaser - 11-08-2012, 03:15 PM
RE: Scripting fatal errors? - by Rapsis - 11-08-2012, 03:58 PM
RE: Scripting fatal errors? - by The chaser - 11-08-2012, 04:09 PM
RE: Scripting fatal errors? - by Kreekakon - 11-08-2012, 04:08 PM
RE: Scripting fatal errors? - by Rapsis - 11-09-2012, 01:00 PM
RE: Scripting fatal errors? - by The chaser - 11-09-2012, 02:03 PM
RE: Scripting fatal errors? - by Rapsis - 11-09-2012, 05:11 PM
RE: Scripting fatal errors? - by The chaser - 11-09-2012, 05:24 PM
RE: Scripting fatal errors? - by Rapsis - 11-22-2012, 04:05 PM
RE: Scripting fatal errors? - by The chaser - 11-22-2012, 04:29 PM
RE: Scripting fatal errors? - by Rapsis - 07-09-2013, 06:50 PM
RE: Scripting fatal errors? - by The chaser - 07-09-2013, 07:15 PM
RE: Scripting fatal errors? - by Rapsis - 07-09-2013, 10:48 PM
RE: Scripting fatal errors? - by PutraenusAlivius - 07-10-2013, 03:46 AM
RE: Scripting fatal errors? - by Rapsis - 07-10-2013, 09:48 AM
RE: Scripting fatal errors? - by Rapsis - 07-18-2013, 06:24 PM
RE: Scripting fatal errors? - by No Author - 07-19-2013, 01:14 AM
RE: Scripting fatal errors? - by Rapsis - 07-23-2013, 01:06 PM
RE: Scripting fatal errors? - by Rapsis - 08-06-2013, 10:56 AM
RE: Scripting fatal errors? - by The chaser - 08-06-2013, 11:55 AM
RE: Scripting fatal errors? - by Rapsis - 08-06-2013, 06:52 PM
RE: Scripting fatal errors? - by The chaser - 08-06-2013, 08:29 PM
RE: Scripting fatal errors? - by Rapsis - 08-06-2013, 10:36 PM
RE: Scripting fatal errors? - by The chaser - 08-07-2013, 10:14 AM
RE: Scripting fatal errors? - by Rapsis - 08-07-2013, 11:08 AM
RE: Scripting fatal errors? - by Kreekakon - 08-07-2013, 11:14 AM
RE: Scripting fatal errors? - by Rapsis - 08-07-2013, 11:18 AM
RE: Scripting fatal errors? - by Kreekakon - 08-07-2013, 11:21 AM
RE: Scripting fatal errors? - by Rapsis - 08-07-2013, 11:26 AM
RE: Scripting fatal errors? - by Rapsis - 08-07-2013, 03:12 PM
RE: Scripting fatal errors? - by The chaser - 08-07-2013, 03:20 PM
RE: Scripting fatal errors? - by Rapsis - 08-07-2013, 03:23 PM
RE: Scripting fatal errors? - by The chaser - 08-07-2013, 03:33 PM
RE: Scripting fatal errors? - by Rapsis - 08-07-2013, 03:35 PM
RE: Scripting fatal errors? - by Rapsis - 08-07-2013, 04:39 PM



Users browsing this thread: 2 Guest(s)