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
.hps file error.
Markop1 Offline
Junior Member

Posts: 1
Threads: 1
Joined: Jan 2017
Reputation: 0
#1
.hps file error.

Hello. Today i started making my own custom story. I made a simple room with pathway where is script area. This activates script in .hps file.

The problem is, that when i play my story, it gets "FATAL ERROR" with this text:

FATAL ERROR. Could not load script file
'custom_stories/Whatif/custom_stories/Whatif/maps/w_1.hps'!
main (10, 2): ERR :Unexpected end of file


This is my hps. File:

void OnStart()
{
AddEntityCollideCallback("Player", "TP_SCRIPT, "JumpScare", true, 1);
}
void JumpScare(string &in asParent, string &in asChild, int alStates)
{
SetEntityActive("jumper", true);
AddPropForce("jumper", 0, 0, -100, "world");
PlaySoundAtEntity("", "24_iron_maiden.snt", "jumper", 0, false);
}
01-29-2017, 02:02 PM
Find


Messages In This Thread
.hps file error. - by Markop1 - 01-29-2017, 02:02 PM
RE: .hps file error. - by Mudbill - 01-29-2017, 02:57 PM



Users browsing this thread: 1 Guest(s)