Difference between revisions of "GetOpenState"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-Link to TES4 Construction Set Wiki +{{Incomplete}}\n\nLink to TES4 Construction Set Wiki))
imported>Yukichigai
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Incomplete}}
{{Function
|CSWikiPage = GetOpenState
|origin = GECK1
|summary = Gets the open state of an animating door
|name = GetOpenState
|returnVal = 0, 1, 2, 3, 4
|returnType = int
|referenceType = [Door]
|example = <pre>ShackDoor.GetOpenState</pre>
Will return the state of the shack door
}}


Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/GetOpenState GetOpenState]
==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:
<pre>
    0 = none (has no open/closed states)
    1 = open
    2 = opening
    3 = closed
    4 = closing
</pre>
*Note that these states do NOT correspond to those of [[SetOpenState]]
 
==See Also==
*[[SetOpenState]]


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.1)]]

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