GetQuestStatus(object, int, object)

Returns a PC's quest status.

int GetQuestStatus(
    object oPC,
    int nQuest = 1,
    object oNPC = OBJECT_SELF
);

Parameters

oPC

A player object

nQuest

The quest number (Default: 1)

oNPC

The quest giver (Default: OBJECT_SELF)


Description

Call to determine the status of the quest
returns one of:
QUEST_NOT_TAKEN
QUEST_IN_PROGRESS
QUEST_COMPLETE
QUEST_COMPLETE_OTHER



Remarks

The return values for this function are variable (not constant) integers declared in the include file. The value QUEST_COMPLETE_OTHER means that the quest has been completed, but by someone other than oPC.

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.


Requirements

#include "x0_i0_plotgiver"

Version

1.61

See Also

categories: Module Specific Functions
constants: QUEST_* Constants


 author: Lilac Soul