Background for Fallout 4
Member of the ObjectReference script
voidfunctionSetDestroyed(boolabDestroyed=true)Native

Description

Wiki Description

Sets or clears this object's destroyed flag.

Documentation Comment

Sets this object as destroyed or not


Caveats


Parameters

boolabDestroyed=true

CK Wiki Description

Whether the object should be destroyed or not.

  • Default:True

Examples

; Flag the dam as being destroyed
Dam.SetDestroyed()
; Flag the dam as not being destroyed
Dam.SetDestroyed(false)

Auto-Generated Example

bool myBool__abDestroyed

myObjectReference__toCallFunctionOn.SetDestroyed(myBool__abDestroyed)

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.