Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CANT GET MY CUSTOM STORY WORKING!!!
Author Message
TheDevKID Offline
Junior Member

Posts: 1
Joined: Jun 2012
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
Post Reply 


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



User(s) browsing this thread: 1 Guest(s)