IsObjectiveFailed - Quest
Revision as of 13:29, 25 October 2011 by imported>Jlundin
Member of: Quest Script
Obtains whether the specified quest objective is failed or not.
Syntax
bool Function IsObjectiveFailed(int aiObjective) native
Parameters
- aiObjective: The objective to check.
Return Value
Whether the specified objective is failed or not.
Examples
<source lang="papyrus">
- Is the second objective failed?
if HardQuest.IsObjectiveFailed(2)
Debug.Trace("You failed the objective!")
endIf