Difference between revisions of "Quest Stages Tab"

150 bytes added ,  14:39, 20 April 2021
m
→‎Quest Stage Items:: Added a note about script fragments
imported>Sein schatten
imported>Pickysaurus
m (→‎Quest Stage Items:: Added a note about script fragments)
 
Line 15: Line 15:
*'''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]]
Anonymous user