Difference between revisions of "Quest Stages Tab"
m
→Quest Stage Items:: Added a note about script fragments
imported>Egocarib |
imported>Pickysaurus m (→Quest Stage Items:: Added a note about script fragments) |
||
(One intermediate revision by one other user not shown) | |||
Line 11: | Line 11: | ||
==Quest Stage Items:== | ==Quest Stage Items:== | ||
When a quest stage is set using the [[SetStage]] script command, each quest stage item may be applied: if it passes the specified conditions, the Result Script is run. | When a quest stage is set using the [[SetStage]] script command, each quest stage item may be applied: if it passes the specified conditions, the Result Script is run. A maximum of 255 quest stage item per quest stage is acceptable. | ||
*'''Log Entry:''' If a stage item has log entry text, that text becomes the quest summary in the player's quest list. Only the most recent log entry is displayed to the player. | *'''Log Entry:''' If a stage item has log entry text, that text becomes the quest summary in the player's quest list. Only the most recent log entry is displayed to the player. | ||
*'''Result Script:''' These script commands are run when the stage item is applied. See [[:Category:Papyrus|Papyrus]] for full information on writing scripts. | *'''Result Script:''' These script commands are run when the stage item is applied. See [[:Category:Papyrus|Papyrus]] for full information on writing scripts. | ||
*'''[[:Category:Conditions|Conditions]]:''' The conditions must be true for the quest stage item to be applied. Note that most reference functions are invalid when attached to a quest stage, since the stage is not a reference. Note also that "Run on Target" is invalid for conditions attached to quest stages. When setting a variable in a script as a condition, the variable must be changed before SetStage is called. | *'''[[:Category:Conditions|Conditions]]:''' The conditions must be true for the quest stage item to be applied. Note that most reference functions are invalid when attached to a quest stage, since the stage is not a reference. Note also that "Run on Target" is invalid for conditions attached to quest stages. When setting a variable in a script as a condition, the variable must be changed before SetStage is called. | ||
** ''Note: The script fragments will be run for all entries where the conditions pass. Make sure to ensure quest stages are mutually exclusive!'' | |||
*'''Complete Quest:''' If this box is checked, setting this stage will trigger the "Quest Completed" message, and move the quest from the active to completed portions of the player's quest list. Note that a completed quest can still be running. | *'''Complete Quest:''' If this box is checked, setting this stage will trigger the "Quest Completed" message, and move the quest from the active to completed portions of the player's quest list. Note that a completed quest can still be running. | ||
*'''Fail Quest:''' The same as Complete Quest, but triggers the "Quest Failed" message. | *'''Fail Quest:''' The same as Complete Quest, but triggers the "Quest Failed" message. | ||
*'''Next Quest:''' This dropdown is currently not used in the game code. | *'''Next Quest:''' This dropdown is currently not used in the game code. | ||
{{languages|Quest_Stages_Tab}} | {{languages|Quest_Stages_Tab}} | ||
[[Category:Quests]] | [[Category:Quests]] | ||
[[Category:Conditions]] | [[Category:Conditions]] |