Hello all and thank you for taking the time to help me with my lame coding skills
, 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!