CANT GET MY CUSTOM STORY WORKING!!! - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: CANT GET MY CUSTOM STORY WORKING!!! (/thread-15896.html) |
CANT GET MY CUSTOM STORY WORKING!!! - TheDevKID - 06-06-2012 Help! There's a problem when i am trying to test my custom story out!! 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!!! RE: CANT GET MY CUSTOM STORY WORKING!!! - Prelauncher - 06-06-2012 You've spelled player wrong RE: CANT GET MY CUSTOM STORY WORKING!!! - Traggey - 06-06-2012 ''SetPlyaerSanity(15);'' Proof read dat shiet boy. RE: CANT GET MY CUSTOM STORY WORKING!!! - Datguy5 - 06-06-2012 Also you could put them in the OnEnter. RE: CANT GET MY CUSTOM STORY WORKING!!! - Putmalk - 06-06-2012 (06-06-2012, 01:06 PM)Datguy5 Wrote: Also you could put them in the OnEnter.That wouldn't be advisable unless you want it to happen every time you enter the map.... |