Quest Stages Tab
Revision as of 10:30, 14 March 2006 by imported>Kkuhlmann
Setting a quest stage (see SetStage) adds the Log Entry to the player's quest log and runs the Result Script. If there are multiple stage items for a particular stage, each is evaluated to see if it passes the conditions (if any). Thus a single stage could potentially add several entries to the player's quest log and/or run multiple results scripts.
Quest Stage:
- Index: Each stage has an index number from 0 to 255.
- Quest Stage Items: Each stage can have 1 or more "stage items", which can include a log entry and/or a result script. Multiple stage items are often conditionalized so that only one is actually written to the player's log when a stage is set.
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 Log Entry text is written to the player's quest log, and the Result Script is run.
- Log Entry: The text that is displayed in the player's quest log when the stage item is applied.
- Result Script: These script commands are run when the stage item is applied.
- 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.
- Complete Quest: If this box is checked, setting this stage will move the quest from the active to completed portions of the player's journal. Note that a completed quest can still be running.
- Export Quest Stages: All the text and conditions of quest stages can be exported to a text file.