Difference between revisions of "Reset - Quest"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Terra Nova2
m
imported>Terra Nova2
m (→‎Note: Somehow reverted to an old edit "Appears to be broken" when it isn't.)
Line 24: Line 24:
== Note ==
== Note ==
*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 - Quest|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 run again. Furthermore, the quest is not placed in a stopped state.
*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.


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

Revision as of 01:38, 11 September 2015

Member of: Quest Script

Resets this quest.

Syntax

Function Reset() native

Parameters

None.

Return Value

None.

Examples

; Reset the main quest
MainQuestProperty.Reset()

Note

  • 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 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.

See Also