SetOpen - ObjectReference
Jump to navigation
Jump to search
Member of: ObjectReference Script
Opens or closes this object.
Syntax[edit | edit source]
Function SetOpen(bool abOpen = true) native
Parameters[edit | edit source]
- abOpen: Whether to open or close this object
- Default: True
Return Value[edit | edit source]
None
Examples[edit | edit source]
; Opens this door
JailDoor.SetOpen()
; Closes this door
JailDoor.SetOpen(false)