SetOpenState
From GECK
A function included in the GECK for Fallout 3.
Contents
Description
Sets the open state of a Door to open or closed.
Syntax
[Door].SetOpenState State:boolean
Example
SomeDoorRef.SetOpenState 1 ; Open SomeOtherDoorRef.SetOpenState 0 ; Closed
Notes
- These states do NOT correspond to those of GetOpenState.
- This function will work on Activators if they have Open and Close animations.
See Also
- GetOpenState
- SetDefaultOpen
- ref.PlayAnimSequence "Open"/"Close" - this works on containers