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
Fatal Error when starting my Costum Story
Gameristic34 Offline
Junior Member

Posts: 1
Threads: 0
Joined: Jun 2012
Reputation: 0
#5
RE: Fatal Error when starting my Costum Story

same problem but I just get a different error when i try the code and fill it in with my stuff?
I get this when i try to load my story: FATAL ERROR:Could not load script file "costum_stories/Test/Costum Story Test/maps/Test.hplmain (9,1):ERR : Expected "," or ";"

but my code is:
void OnEnter()
{
AddUseItemCalback("", "Key To Hallway", "LockedDoor_1", "unlock_door", true);
}


void unlock_door(string &in Key To Hallway, string &in LockedDoor_1)
{
SetSwingDoorLocked(LockedDoor_1, false, true);
PlaySoundAtEntity("", "unlock_door", LockedDoor_1, 0, false);
RemoveItem(Key To Hallway);
}
void OnLeave()
{
}


& the extra_English.lang:

<LANGUAGE>
<RESOURCES />
<CATEGORY Name="Inventory">
<Entry Name="Key to hallway">Key To Hallway</Entry>
<Entry Name="Key to hallway">Hallway Key</Entry>
</CATEGORY>
</LANGUAGE>

And i don't know what is wrong?
(This post was last modified: 06-01-2012, 07:40 AM by Gameristic34.)
06-01-2012, 07:39 AM
Find


Messages In This Thread
RE: Fatal Error when starting my Costum Story - by Gameristic34 - 06-01-2012, 07:39 AM



Users browsing this thread: 1 Guest(s)