SetOpen - ObjectReference: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Rasikko
m (→‎Notes: clarified note a little better.)
m (Convert source tags to syntaxhighlight)
 
Line 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Function SetOpen(bool abOpen = true) native
Function SetOpen(bool abOpen = true) native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 18: Line 18:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Opens this door
; Opens this door
JailDoor.SetOpen()
JailDoor.SetOpen()
</source>
</syntaxhighlight>
<br/>
<br/>
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Closes this door
; Closes this door
JailDoor.SetOpen(false)
JailDoor.SetOpen(false)
</source>
</syntaxhighlight>


== Notes ==
== Notes ==

Navigation menu