SetOpen - ObjectReference

From the CreationKit Wiki
Revision as of 18:11, 24 October 2011 by imported>Jlundin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Opens or closes this object.

Syntax

Function SetOpen(bool abOpen = true) native

Parameters

  • abOpen: Whether to open or close this object
    • Default: True

Return Value

None

Examples

; Opens this door
JailDoor.SetOpen()


; Closes this door
JailDoor.SetOpen(false)

See Also