Difference between revisions of "Reset - Quest"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Terra Nova2
m (→‎Note: Somehow reverted to an old edit "Appears to be broken" when it isn't.)
imported>Rasikko
 
(One intermediate revision by one other user not shown)
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 function will not empty out quest aliases, and any code inside the startup stage is not ran again. Furthermore, the quest is not placed in a stopped state.
*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]