SetQuestDone
From NWN Lexicon
Contents |
[edit] SetQuestDone(object, int, object)
Sets a quest as finished or done.
void SetQuestDone( object oPC, int nQuest = 1, object oNPC = OBJECT_SELF );
[edit] Parameters
oPC
A player object
nQuest
The quest number (Default: 1)
oNPC
The quest giver (Default: OBJECT_SELF)
[edit] Description
Call when a PC completes a quest
[edit] Remarks
Calls SetLocalIntOnAll, SetLocalInt on the PC, takes the plot and quest items and gives the reward item.
This is part of BioWare's quest handling system. Unless you delve thoroughly into that system, and use it all the time, you probably won't need this function.
[edit] Requirements
#include " x0_i0_plotgiver "
[edit] Version
1.61
[edit] See Also
author: Lilac Soul