Background for Fallout 4
Member of the Quest script
voidfunctionSetObjectiveCompleted(intaiObjective, boolabCompleted=true)Native

Description

Wiki Description

Sets whether the specified quest objective is completed or not.

Documentation Comment

Sets the specified objective to completed or not


Caveats


Parameters

intaiObjective

CK Wiki Description

The objective to flag as completed or not.

boolabCompleted=true

CK Wiki Description

Whether to flag this objective as completed.


Examples

; Set the 10th objective to be completed
MyQuest.SetObjectiveCompleted(10)
; Set the 10th objective to be incomplete
MyQuest.SetObjectiveCompleted(10, false)

Auto-Generated Example

int myInt__aiObjective
bool myBool__abCompleted

myQuest__toCallFunctionOn.SetObjectiveCompleted(myInt__aiObjective, myBool__abCompleted)

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.