Background for Skyrim SE
Member of the ObjectReference script
voidfunctionSetOpen(boolabOpen=true)Native

Description

Wiki Description

Opens or closes this object.

Documentation Comment

Opens/closes this object


Caveats

CK Wiki - Notes

  • When used to open a door, it will also remove any lock level that is placed on it.

Parameters

boolabOpen=true

CK Wiki Description

Whether to open or close this object

  • Default:True

Examples

; Opens this door
JailDoor.SetOpen()
; Closes this door
JailDoor.SetOpen(false)

Auto-Generated Example

bool myBool__abOpen

myObjectReference__toCallFunctionOn.SetOpen(myBool__abOpen)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.