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 Another FATAL ERROR problem :/
Dominic0904 Offline
Member

Posts: 63
Threads: 14
Joined: Apr 2011
Reputation: 0
#1
Another FATAL ERROR problem :/

Ok, trying to get back into scripting for this game for a Uni Project and went onto this tutorial;
http://www.youtube.com/watch?v=M5x_taEkP...ata_player


Did it all but I keep getting this error and I have no idea why

FATAL ERROR: Could not load script file
'custom_stories/ExampleStory/maps/01_Scripting_Tutorial.hps'"
main (7, 28): ERR : Expected '('
main (13, 22) ERR: Expected '('

Here is the script;


void OnStart()
{
{
AddEntityCollideCallback("Player", "RoomTwoArea_01", "CollideRoomTwo", true, 1);
}

void CollideRoomTwo(string &in asParent, string &in asChild, int alState);
{
SetSwingDoorClosed("castle_arched01_1", true, true);
StartPlayerLookAt("castle_arched01_1", 10.0, 10.0, "");
AddTimer("", 1.0, "StopLook");
}
void StopLook(string &in asTimer);
{
StopPlayerLookAt();
}
}



I've tried all I can, I keep looking through it and searched online but can't find a solution :/ Halp?

Thanks.
08-17-2012, 12:26 AM
Find


Messages In This Thread
Another FATAL ERROR problem :/ - by Dominic0904 - 08-17-2012, 12:26 AM
RE: Another FATAL ERROR problem :/ - by Adny - 08-17-2012, 12:31 AM
RE: Another FATAL ERROR problem :/ - by Ongka - 08-19-2012, 08:39 PM



Users browsing this thread: 1 Guest(s)