FailAllObjectives - Quest

From the CreationKit Wiki
Revision as of 12:34, 25 September 2014 by imported>Terra Nova2 (This function wont fail objectives that are not displayed in the journal( have not been called via SetObjectiveDisplayed() - Quest yet ))
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.
    • Any objectives that were not called to be displayed, will be ignored by the function.

See Also