Difference between revisions of "StartQuest"
Jump to navigation
Jump to search
imported>Vswe m (Added Search Terms) |
imported>Syscrusher |
||
(2 intermediate revisions by one other user not shown) | |||
Line 10: | Line 10: | ||
==Notes== | ==Notes== | ||
*Avoid calling this function to start a quest which is already running. If there is a script attached to the quest, any variables will be reset to 0 when the game is reloaded. | *Avoid calling this function to start a quest which is already running. If there is a script attached to the quest, any variables will be reset to 0 when the saved game is reloaded. | ||
*Starting a new quest with this function does not intrinsically set its stage. You may need to follow StartQuest with a call to [[SetStage]]. | |||
==See Also== | ==See Also== | ||
* [[StopQuest]] | * [[StopQuest]] | ||
* [[SetStage]] | |||
[[Category: Functions]] | [[Category: Functions]] |
Latest revision as of 00:12, 13 January 2013
Syntax:
StartQuest QuestID
Example:
StartQuest SQ09
Starts the quest, which means:
- Any attached dialogue will be enabled.
- The quest script, if any, will begin running.
Notes[edit | edit source]
- Avoid calling this function to start a quest which is already running. If there is a script attached to the quest, any variables will be reset to 0 when the saved game is reloaded.
- Starting a new quest with this function does not intrinsically set its stage. You may need to follow StartQuest with a call to SetStage.
See Also[edit | edit source]