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
Scripts won't work
nickTs Offline
Junior Member

Posts: 12
Threads: 3
Joined: Sep 2010
Reputation: 0
#1
Scripts won't work

I've been refraining from posting a thread thinking I could figure this out myself. Well, as you can see it isn't going well. So, there's a couple things (for now) I need help with.

Playing a single sound or sequence of sounds when I enter a certain area. I've been able to get the sound to play just by setting it in the editor, so I know the files are good, but once I try to set it to play when a specific Area is entered it doesn't seem to work.

Spawning an enemy. Similar to above. I can simply place it in the editor and it will spawn just fine once the map loads, but when I try to set it to an Area it will either cut my frame rate in half and not work or just simply do nothing. Specifically, I'm trying to make an enemy spawn, walk a short path, and disappear.

I've tried digging through the default maps/scripts, reading the Wiki pages, searching the forum and even though I have directly copied from scripts (with appropriate renaming) that seemed to work perfectly for others, it won't work for me.

So, if anyone could help me with my issues it would be very much appreciated. If not, here's to hoping for an editor update with automatic scripting. Big Grin
09-17-2010, 07:56 AM
Find


Messages In This Thread
Scripts won't work - by nickTs - 09-17-2010, 07:56 AM
RE: Scripts won't work - by Deruu - 09-17-2010, 10:00 AM
RE: Scripts won't work - by MulleDK19 - 09-17-2010, 10:51 AM
RE: Scripts won't work - by nickTs - 09-17-2010, 11:42 AM
RE: Scripts won't work - by jens - 09-17-2010, 11:53 AM
RE: Scripts won't work - by jens - 09-17-2010, 11:56 AM
RE: Scripts won't work - by MulleDK19 - 09-17-2010, 12:02 PM
RE: Scripts won't work - by nickTs - 09-17-2010, 12:14 PM
RE: Scripts won't work - by Deruu - 09-17-2010, 01:08 PM
RE: Scripts won't work - by nickTs - 09-18-2010, 12:13 PM
RE: Scripts won't work - by Deruu - 09-18-2010, 01:37 PM



Users browsing this thread: 1 Guest(s)