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
emento error
wazzUPP11 Offline
Junior Member

Posts: 3
Threads: 2
Joined: Mar 2013
Reputation: 0
#1
emento error

Hello all and thank you for taking the time to help me with my lame coding skills Tongue, im trying to add a memento and im typing this in my .hps file:

void OnStart()

{
//Gives quest for finding key.
AddQuest("bloodtrail", "Bloodtrail");

//CALLBACKS
AddEntityCollideCallback("Player", "Bloodtrail", "Bloodtrail", true, 1);
AddEntityCollideCallback("Player", "bloodtrailF", "bloodtrailF", true, 1);
}

void Bloodtrail(string &in asParent, string &in asChild, int alState);
void bloodtrailF(string &in asParent, string &in asChild, int alState);

CompleteQuest("bloodtrail", "Bloodtrail");

This into my .lang file:

<LANGUAGE>

<CATEGORY Name="CustomStoryMain">

<Entry Name="Description">For the best experience play at night, alone with headphones.</Entry>

</CATEGORY>

<CATEGORY Name="Journal">


<Entry Name="Quest_Bloodtrail_Text">Follow the sacrificial victims blood trail.</Entry>

</CATEGORY>

</LANGUAGE>

And my two areas set in game to start and end the mementos are Bloodtrail and bloodtrailF. I cant find a solution. Im receiving this error:
FATOL ERROR: Could not load script file
(locaton of my .hps file)
main (15, 15): ERR :Expected identifier.

PLEASE HELP!
(This post was last modified: 03-14-2013, 11:08 PM by wazzUPP11.)
03-14-2013, 12:57 AM
Find


Messages In This Thread
emento error - by wazzUPP11 - 03-14-2013, 12:57 AM
RE: Memento error - by PutraenusAlivius - 03-14-2013, 07:10 AM
RE: Memento error - by Nice - 03-14-2013, 04:08 PM
RE: Memento error - by Statyk - 03-14-2013, 06:29 PM
RE: Memento error - by NaxEla - 03-14-2013, 10:20 PM



Users browsing this thread: 2 Guest(s)