- Found in:
- Vanilla
Description
Wiki Description
Sets whether the specified quest objective is failed or not.
Documentation Comment
Sets the specified objective to failed or not
Caveats
Parameters
intaiObjective
CK Wiki Description
The objective to flag as failed or not.
boolabFailed=true
CK Wiki Description
Whether to flag this objective as failed.
Examples
; Set the 10th objective to be failed
MyQuest.SetObjectiveFailed(10); Set the 10th objective to be un-failed
MyQuest.SetObjectiveFailed(10, false)Auto-Generated Example
int myInt__aiObjective
bool myBool__abFailed
myQuest__toCallFunctionOn.SetObjectiveFailed(myInt__aiObjective, myBool__abFailed)Related Pages
- Quest
- Quest.IsObjectiveFailed(...)
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
