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
CANT GET MY CUSTOM STORY WORKING!!!
TheDevKID Offline
Junior Member

Posts: 1
Threads: 1
Joined: Jun 2012
Reputation: 0
#1
CANT GET MY CUSTOM STORY WORKING!!!

Help! There's a problem when i am trying to test my custom story out!! Sad

It says:

FATAL ERROR: Could not load script file 'custom_stories/test/maps/test.hps'!
main (6, 5) : ERR : No matching signatures to 'SetPlayerSanity(const uint);

Here's my code (just testing out the sanity)

////////////////////
//Runs when the player starts the map
void OnStart()
{
SetPlayerLampOil(0);
SetPlyaerSanity(15);
}

////////////////////
//Runs when the player enters the map
void OnEnter()
{

}

////////////////////
//Runs when the player leaves the map
void OnLeave()
{

}

Any help would be great... thanks!!! Smile
06-06-2012, 12:23 PM
Find


Messages In This Thread
CANT GET MY CUSTOM STORY WORKING!!! - by TheDevKID - 06-06-2012, 12:23 PM



Users browsing this thread: 1 Guest(s)