GetOpenState

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Gets the open state of an animating door

Syntax

[help]
(0, 1, 2, 3, 4:int) [Door].GetOpenState

Example

ShackDoor.GetOpenState

Will return the state of the shack door

Notes

  • GetOpenState will return relevant values for some objects which have Open and Closed animation states, including Radios and some Containers.
  • The following correspond to the state of the door:
    0 = none (has no open/closed states) 
    1 = open 
    2 = opening 
    3 = closed 
    4 = closing
  • Note that these states do NOT correspond to those of SetOpenState

See Also