SetOpen - ObjectReference

Member of: ObjectReference Script

Opens or closes this object.

SyntaxEdit

Function SetOpen(bool abOpen = true) native

ParametersEdit

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

Return ValueEdit

None

ExamplesEdit

; Opens this door
JailDoor.SetOpen()


; Closes this door
JailDoor.SetOpen(false)

See AlsoEdit