Mod:Creation Kit/IsObjectiveFailed - Quest

Member of: Mod:Creation Kit/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
if HardQuest.IsObjectiveFailed(2) Debug.Trace("You failed the objective!") endIf
 * Is the second objective failed?