Background for Fallout 4
Member of the ObjectReference script
voidfunctionSetOpen(boolabOpen=true)Native

Description

Wiki Description

Opens or closes this object.

Documentation Comment

Opens/closes this object


Caveats


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 Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.