Difference between revisions of "FailAllObjectives - Quest"
Jump to navigation
Jump to search
imported>Terra Nova2 m (This function wont fail objectives that are not displayed in the journal( have not been called via SetObjectiveDisplayed() - Quest yet )) |
(→Notes: Clarified the meaning of the one of the notes.) |
||
Line 24: | Line 24: | ||
== Notes == | == 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. | *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 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. | **Any objectives that were '''not called to be displayed''', will be ignored by the function. | ||
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.