Frictional Games Forum (read-only)
Quest help - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Quest help (/thread-4663.html)



Quest help - Jordo76 - 09-22-2010

Yes i know,i need quest help,again !
I don't know how to get the Quest Message : "Quest As been added : blabla"
I think command are :
Code:
QuestIsCompleted(string& asName);
QuestIsAdded(string& asName);
But i fail at using them,can someone show me an example ?


RE: Quest help - Pandemoneus - 09-22-2010

That's what you can find about quests in the wiki:
Code:
// Quest
void  AddQuest(string& asName, string& asNameAndTextEntry);
void  CompleteQuest(string& asName, string& asNameAndTextEntry);
bool  QuestIsCompleted(string& asName);
bool  QuestIsAdded(string& asName);
void  SetNumberOfQuestsInMap(int alNumberOfQuests);

if you use AddQuest correctly, it will show "A new entry has been added to your momentum." ingame. Take a look at my map if you want. Tongue