SetObjectiveCompleted - Quest

From the Fallout4 CreationKit Wiki
Revision as of 08:30, 17 September 2013 by imported>Iceburg333 (→‎See Also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Quest Script

Sets whether the specified quest objective is completed or not.

Syntax[edit | edit source]

Function SetObjectiveCompleted(int aiObjective, bool abCompleted = true) native

Parameters[edit | edit source]

  • aiObjective: The objective to flag as completed or not.
  • abCompleted: Whether to flag this objective as completed.
    • Default: true

Return Value[edit | edit source]

None.

Examples[edit | edit source]

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


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

See Also[edit | edit source]