Difference between revisions of "Reset - Quest"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Terra Nova2
m (→‎Note: From more testing, Reset does in fact stop quests from running(placed in a stopped state and moves to the bottom section of a journal) and runs all the code in the stage up stage.)
imported>Rasikko
 
Line 25: Line 25:
*This function will reset a quest, but it doesn't send events to [[OnReset - ObjectReference]]. The two aren't related.
*This function will reset a quest, but it doesn't send events to [[OnReset - ObjectReference]]. The two aren't related.
*This function will not run if Stop() has been called before it.
*This function will not run if Stop() has been called before it.
*This wont run the start up stage, in essence the quest is waiting to be started again.


== See Also ==
== See Also ==
*[[Quest Script]]
*[[Quest Script]]

Latest revision as of 06:08, 9 October 2021

Member of: Quest Script

Resets this quest.

Syntax[edit | edit source]

Function Reset() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Reset the main quest
MainQuestProperty.Reset()

Note[edit | edit source]

  • This function will reset a quest, but it doesn't send events to OnReset - ObjectReference. The two aren't related.
  • This function will not run if Stop() has been called before it.
  • This wont run the start up stage, in essence the quest is waiting to be started again.

See Also[edit | edit source]