FailAllObjectives - Quest

From the CreationKit Wiki
Revision as of 00:27, 3 December 2021 by Jadkai (talk | contribs) (→‎Notes: Clarified the meaning of the one of the notes.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Quest Script

Flags all objectives on this quest as failed.

Syntax

Function FailAllObjectives() native

Parameters

None.

Return Value

None.

Examples

; fails all objectives on the quest
MyQuest.FailAllObjectives()

Notes

  • It will fail all objectives that are displayed in the journal. The failed ones that are not completed before hand will not display on screen as failed.
    • Any objectives completed will be flagged as failed in the journal, but will not show up on screen as failed. That is, they will have a red X beside them in the journal even if they were previously completed, but they will not pop up a message saying "Failed: <objective text>" outside of the journal.
    • Any objectives that were not called to be displayed, will be ignored by the function.

See Also