Difference between revisions of "Talk:Script Processing"

20 bytes added ,  16:18, 9 November 2007
m
no edit summary
imported>HawkFest
(Problem with specific assertions)
imported>HawkFest
m
== Problem with specific assertions ==
 
[Quote]<blockQuote># Scripts on references: processed every frame when its cell is loaded, not at all when the cell is not loaded. So these scripts run only when the player is nearby (which means these are often a good place to put relatively expensive scripts, doing things like distance checks).[</quote]blockQuote>
 
I have a countainer in an interior cell linked by two doors with the IC Waterfront District, namely cells 02 and 03. Within that interior cell is a container using a non-persistent reference. However, '''its MenuMode block gets executed from the very begining - the first menu when entering the game, when no game is even loaded!'''... Any clue?
</pre>
 
[Quote]<blockQuote># Scripts on objects in containers: these are 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'''.[</Quote]blockQuote>
''When the cell is loaded'' is not correct in regards to the above-mentioned oddity. It needs to be clarified IMHO...
Anonymous user