Frictional Games Forum (read-only)
Quest complete in area script - 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 complete in area script (/thread-6983.html)



Quest complete in area script - larslu - 03-21-2011

I want to have a script so when I enter a area, a quest automatically completes. Can anyone please help me?


RE: Quest complete in area script - Pandemoneus - 03-21-2011

AddEntityCollideCallback(string& asParentName, string& asChildName, string& asFunction, bool abDeleteOnCollide, int alStates);

and

CompleteQuest(string& asName, string& asNameAndTextEntry);

?


RE: Quest complete in area script - larslu - 03-21-2011

(03-21-2011, 09:18 PM)Pandemoneus Wrote: AddEntityCollideCallback(string& asParentName, string& asChildName, string& asFunction, bool abDeleteOnCollide, int alStates);

and

CompleteQuest(string& asName, string& asNameAndTextEntry);

?

What do you have to fill in in string& asFunction?