Background for Fallout 4
Member of the ObjectReference script
voidfunctionEnable(boolabFadeIn=false)Native

Description

Wiki Description

Enables this reference, popping it into existance. This function is latent and will wait for the enable to happen and 3d to load (if the 3d is going to load - objects outside the loaded area will not be waited on).

Documentation Comment

Enables this object - fading in if requested


Caveats

CK Wiki - Notes

  • Small objects will never fade.
  • Children of an enable parent will not fade and will simply pop into existence when the parent object has finished fading.

Parameters

boolabFadeIn=false

CK Wiki Description

Whether to fade in the object or not. Function won't return until object is faded in. If this is an enable parent the children will not be faded.

  • Default:False

Examples

; Enables the reference, popping it in
TempReference.Enable()
; Enables the reference, fading it in
TempReference.Enable(true)

Auto-Generated Example

bool myBool__abFadeIn

myObjectReference__toCallFunctionOn.Enable(myBool__abFadeIn)

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.