Difference between revisions of "OnLoad"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Cipscis
imported>BonzoFSP
(Transferred content from TES site. Disconnected from TES site.)
Line 1: Line 1:
Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/OnLoad OnLoad].
This block will be run once whenever the scripted object's 3D loads, i.e. whenever the player enters the cell (interior) or the object's cell is loaded in the 5x5 grid of exterior cells around the player.
 
==='''Notes'''===
==='''Notes'''===
*[[OnLoad]] blocks won't run on most disabled objects, because their 3D data isn't loaded.
*[[OnLoad]] blocks won't run on most disabled objects, because their 3D data isn't loaded.
*[[OnLoad]] blocks won't run if you are entering a cell in which you have just left.
*[[OnLoad]] blocks <em>will</em> run on disabled triggers, which is a side effect of the fact that they don't have regular 3D data.
*[[OnLoad]] blocks <em>will</em> run on disabled triggers, which is a side effect of the fact that they don't have regular 3D data.
==='''See Also'''===
==='''See Also'''===

Revision as of 12:32, 8 April 2009

This block will be run once whenever the scripted object's 3D loads, i.e. whenever the player enters the cell (interior) or the object's cell is loaded in the 5x5 grid of exterior cells around the player.

Notes

  • OnLoad blocks won't run on most disabled objects, because their 3D data isn't loaded.
  • OnLoad blocks won't run if you are entering a cell in which you have just left.
  • OnLoad blocks will run on disabled triggers, which is a side effect of the fact that they don't have regular 3D data.

See Also