Difference between revisions of "OnOpen"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Mikla
imported>Mikla
 
Line 2: Line 2:


This block will be run once when the scripted object (container or door, may be something else) is opening.
This block will be run once when the scripted object (container or door, may be something else) is opening.
This block is running after [[OnActivate]]


'''Syntax:'''
'''Syntax:'''
Line 8: Line 9:


==Notes==
==Notes==
Scripted object must contain "Open" animation (NiControllerSequence in Nif file) othewise it will not run.
Scripted object must contain "Open" animation (NiControllerSequence in Nif file) or it will not run.


===See Also===
===See Also===
* [[OnClose]]
* [[OnClose]]
[[Category:Blocktypes]]
[[Category:Blocktypes]]

Latest revision as of 04:04, 16 June 2010


This block will be run once when the scripted object (container or door, may be something else) is opening. This block is running after OnActivate

Syntax:

begin OnOpen

Notes[edit | edit source]

Scripted object must contain "Open" animation (NiControllerSequence in Nif file) or it will not run.

See Also[edit | edit source]