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
Fatal error, Please help.
XeOnTricks Offline
Junior Member

Posts: 27
Threads: 12
Joined: Feb 2017
Reputation: 0
#1
Fatal error, Please help.

i just started writing the script for a custom story im making and i got a fatal error when i tried to start the game.
---------------------------------------------------------------------
FATAL ERROR: Could not load script file
'custom_stories/TheUnforgiven/maps/TheUnforgiven.hps'!
main (14, 53) : ERR : Expected '('
----------------------------------------------------------------------
heres my script so far, i can't find out what it's talking about.
----------------------------------------------------------------------

void OnStart()
{
PlayMusic("06_amb.ogg", true, 4, 3, 1, false);

AddUseItemCallback("", "Key_1", "Door_1", "Unlock", true);

}


void Unlock(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked(asEntity, false, true);

PlaySoundAtEntity("", "unlock_door.snt", asEntity, 0, false);

RemoveItem(asItem);

}




void OnEnter()
{



}



void OnLeave()
{



}

----------------------------------------------------------------------
02-23-2017, 04:58 AM
Find


Messages In This Thread
Fatal error, Please help. - by XeOnTricks - 02-23-2017, 04:58 AM
RE: Fatal error, Please help. - by Mudbill - 02-23-2017, 09:48 AM



Users browsing this thread: 2 Guest(s)