Difference between revisions of "StartQuest"
Jump to navigation
Jump to search
imported>DragoonWraith (CS 1.0) |
imported>Syscrusher |
||
(4 intermediate revisions by 3 users 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]] | ||
[[Category:Functions (CS)]] | |||
[[Category: Functions (CS 1.0)]] | [[Category: Functions (CS 1.0)]] | ||
[[Category: Quest Functions]] | [[Category: Quest Functions]] | ||
[[Category: Quest Functions (CS 1.0)]] | [[Category: Quest Functions (CS 1.0)]] | ||
<!-- Begin Search Terms | |||
Start | |||
Quest | |||
End Search Terms --> |
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]