Difference between revisions of "FailAllObjectives - Quest"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jlundin
 
(→‎Notes: Clarified the meaning of the one of the notes.)
 
(One intermediate revision by one other user not shown)
Line 21: Line 21:
MyQuest.FailAllObjectives()
MyQuest.FailAllObjectives()
</source>
</source>
== 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 ==
== See Also ==

Latest revision as of 00:27, 3 December 2021

Member of: Quest Script

Flags all objectives on this quest as failed.

Syntax[edit | edit source]

Function FailAllObjectives() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

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

Notes[edit | edit source]

  • 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[edit | edit source]