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
Help with scripting
Beatlebattle Offline
Junior Member

Posts: 27
Threads: 5
Joined: Jan 2011
Reputation: 0
#1
Help with scripting

Hello FG users.

I'm new to the forum and the editor for amnesia dark descent as well. I've done some basic scripting such as closing doors and monster spawning. I find it very difficult to try new things though. For instance I can't get my triggers to turn on when touching the actual triggerbox. Another problem is letting monsters spawn when I hit a trigger instead of picking something up which works perfectly already. I made 5 maps so far for my campaign and I wan't to make it look more proffesional and detailed. The wiki gives me alot of help but I still find it very complicated. I've tried to copy some scripts from the original campaign but it gives me errors like No matching signatures to 'TimerRandomLook(string@&)' and so on. I hope I can get some tips so I can finish my story and upload it for the forum users to test it.

Also the maps with scripts which worked before start to give me errors too. It gives me the same error all the time:
main (9,1 : ERR : Expected ',' or ';'

Here's the script:

void Onstart()

void PickEnemy(string &in asEntity, string &in asType)

{

SetEntityActive("servant_brute_1", true);

}



I hope some one can help me with this. Thanks in advance.
(This post was last modified: 01-24-2011, 01:38 AM by Beatlebattle.)
01-23-2011, 07:14 PM
Find


Messages In This Thread
Help with scripting - by Beatlebattle - 01-23-2011, 07:14 PM
RE: Help with scripting - by Vradcly - 01-24-2011, 11:11 AM
RE: Help with scripting - by Beatlebattle - 01-24-2011, 06:56 PM
RE: Help with scripting - by Vradcly - 01-25-2011, 11:28 PM
RE: Help with scripting - by Tottel - 01-25-2011, 11:32 PM



Users browsing this thread: 1 Guest(s)