GetOpenState

From GECK

Link to TES4 Construction Set Wiki: GetOpenState.

A function included in the GECK version 1.1.0.36.

Description

Gets the open state of an animating door

Syntax

(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

Personal tools