12-10-2016, 01:23 AM
Scripting mementos are the most cancerous things in Amnesia. Pardon my french.
Please help me out!
HPL: This part works. Journal pic appears at the bottom right when walking through scriptarea!
AddEntityCollideCallback("Player", "ChildrenRoomMemento", "ChildMomento", true, 1.0);
void ChildMomento(string &in asParent, string &in asChild, int alState)
{
AddQuest("Memento1", "Quest1");
}
.LANG:
<CATEGORY Name="Journal">
//---Mementos---//
<Entry Name="Quest_Quest1_Text">Perhaps I should go the other way </Entry>
</CATEGORY>
The scripts seems correct to me, but the only thing that appears in the journal is a underscore. I used the .lang from MudBill so I thought that would do the trick, but nope
Please help me out!
HPL: This part works. Journal pic appears at the bottom right when walking through scriptarea!
AddEntityCollideCallback("Player", "ChildrenRoomMemento", "ChildMomento", true, 1.0);
void ChildMomento(string &in asParent, string &in asChild, int alState)
{
AddQuest("Memento1", "Quest1");
}
.LANG:
<CATEGORY Name="Journal">
//---Mementos---//
<Entry Name="Quest_Quest1_Text">Perhaps I should go the other way </Entry>
</CATEGORY>
The scripts seems correct to me, but the only thing that appears in the journal is a underscore. I used the .lang from MudBill so I thought that would do the trick, but nope