Difference between revisions of "Result scripts"
Jump to navigation
Jump to search
(No difference)
|
Revision as of 11:07, 6 February 2006
Result scripts are script fragments that are run a single time when a specific event occurs. There are two types of result scripts:
- Dialogue results are run when an NPC speaks the associated info. Dialogue results are considered reference scripts.
- Quest stage results are run when the quest stage is set, AND the stage item passes the associated conditions. Quest stage results are considered non-reference scripts.
Result scripts have some limitations compared to named scripts:
- They may not declare variables
- They may not use begin/end blocks
Otherwise, result scripts can use all the normal script commands and functions.