Difference between revisions of "GetOpenState"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>PoHa!
(Copied info, used the template for functions)
imported>Yukichigai
 
Line 12: Line 12:


==Notes==
==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:
*The following correspond to the state of the door:
<pre>
<pre>
     0 = none (not a door)  
     0 = none (has no open/closed states)  
     1 = open  
     1 = open  
     2 = opening  
     2 = opening  

Latest revision as of 05:24, 17 August 2014

< [[::Category:Functions|Category:Functions]]

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

[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