Result scripts
Revision as of 16:19, 13 June 2006 by imported>JOG
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
- Dialogue results can not use the implied reference to access variables in the actor's local script.
Otherwise, result scripts can use all the normal script commands and functions.