Background for Fallout 4
Member of the Quest script
boolfunctionIsObjectiveFailed(intaiObjective)Native

Description

Wiki Description

Obtains whether the specified quest objective is failed or not.

Documentation Comment

Checks to see if the specified objective is failed


Caveats


Parameters

intaiObjective

CK Wiki Description

The objective to check.


Examples

; Is the second objective failed?
if HardQuest.IsObjectiveFailed(2)
  Debug.Trace("You failed the objective!")
endIf

Auto-Generated Example

int myInt__aiObjective

bool returnedValue = myQuest__toCallFunctionOn.IsObjectiveFailed(myInt__aiObjective)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.