Difference between revisions of "Script Processing"
Jump to navigation
Jump to search
Added details about Medium and Low Level Processing
imported>UDUN |
imported>QQuix (Added details about Medium and Low Level Processing) |
||
|
== How Often are Scripts Processed? ==
;Actors (Creatures and NPCs): Processed every time the actor's AI is processed. In high process (the loaded area around the player), this is every frame. When the player leaves the area, the actor goes into Medium Level Processing and the script runs about every 9 minutes (game time) or 18 seconds (real time). Later, when the actor cell is unloaded and the actor does not
;Doors: A bit of a special case, these scripts are processed like other scripts on references (every frame when loaded), but they will also be processed once any time an actor activates the door.
;Objects in Containers: Processed when the container's script is processed -- so, items on actors are processed when the actor is processed; items in other containers are processed every frame when the cell is loaded.
| |||