GetOpenState - ObjectReference: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Pickysaurus
(Added discovery about function)
m (Convert source tags to syntaxhighlight)
 
Line 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
int Function GetOpenState() native
int Function GetOpenState() native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 22: Line 22:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Is this door open or opening?
; Is this door open or opening?
int openState = JailDoor.GetOpenState()
int openState = JailDoor.GetOpenState()
Line 28: Line 28:
   Debug.Trace("Door is open!")
   Debug.Trace("Door is open!")
endIf
endIf
</source>
</syntaxhighlight>


== Notes ==
== Notes ==

Navigation menu