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
Can't play my custom story
SuperSoldier333 Offline
Junior Member

Posts: 12
Threads: 2
Joined: Aug 2012
Reputation: 0
#1
Can't play my custom story

So here is the message that i got when I try to load my custom story:


FATAL ERROR: Could not load script file
'custom_stories/SuperSoldierAdventures/maps/custom_stories/SuperS
oldierAdventures/maps/map1.hps'!
main (13,1) :ERR :Unexpected end of file

Please help me I don't know how to fix this.


Here's my file with the script if this can help:


void OnStart()
{
AddUseItemCallback("", "keydoor", "mansion_1", "OuvrirPorte", true;
}


void OuvrirPorte(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("mansion_1", false, true);
PlaySoundAtEntity("", unlock_door", "mansion_1", 0, false);
RemoveItem("keydoor");
}
08-05-2012, 04:01 AM
Find


Messages In This Thread
Can't play my custom story - by SuperSoldier333 - 08-05-2012, 04:01 AM
RE: Can't play my custom story - by Froge - 08-05-2012, 04:09 AM
RE: Can't play my custom story - by KingCrimson - 08-05-2012, 04:52 AM
RE: Can't play my custom story - by KingCrimson - 08-05-2012, 04:14 PM
RE: Can't play my custom story - by Steve - 08-05-2012, 06:18 PM
RE: Can't play my custom story - by Steve - 08-05-2012, 07:08 PM
RE: Can't play my custom story - by Steve - 08-05-2012, 07:58 PM
RE: Can't play my custom story - by Steve - 08-05-2012, 08:03 PM
RE: Can't play my custom story - by tokugawa1 - 08-05-2012, 08:06 PM
RE: Can't play my custom story - by Steve - 08-05-2012, 09:54 PM



Users browsing this thread: 1 Guest(s)