SetOpenState

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Sets the open state of a Door to open or closed.

Syntax

[help]
[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