Difference between revisions of "Result scripts"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JOG
imported>JOG
m
 
Line 8: Line 8:
*They may not [[declaring variables|declare variables]]   
*They may not [[declaring variables|declare variables]]   
*They may not use [[begin|begin/end blocks]]   
*They may not use [[begin|begin/end blocks]]   
*Dialogue results can not use the implied reference to access local variables in the actor's local script.  
*Dialogue results can not use the implied reference to access variables in the actor's local script.  
    
    



Latest revision as of 16:19, 13 June 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:


Otherwise, result scripts can use all the normal script commands and functions.

See Also[edit | edit source]

Named scripts