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: Could not load script file
WalkingTerror Offline
Junior Member

Posts: 2
Threads: 1
Joined: Jun 2017
Reputation: 0
#1
FATAL ERROR: Could not load script file

I had all done and set up and then this error showed up what am i doing wrong ? Sad And the .HPS and .Map file is in the maps folder and have both exact same names Sad

This is my Code:

void OnStart()
{
AddUseItemCallback("", Key, Door, "UseKeyOnDoor", true);
}

void UseKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Door", false, true);
}

void OnEnter()
{
SetPlayerLampOil(100);
PreloadSound("amb_idle.snt");
}

void OnLeave()
{
}


Attached Files
.png   Screenshot (1).png (Size: 30.75 KB / Downloads: 181)
06-11-2017, 10:48 PM
Find


Messages In This Thread
FATAL ERROR: Could not load script file - by WalkingTerror - 06-11-2017, 10:48 PM



Users browsing this thread: 1 Guest(s)