Background for Fallout 4
Member of the ObjectReference script
boolfunctionIsEnabled()

Description

Wiki Description

Checks to see if this object is currently enabled. (The opposite of ObjectReference.IsDisabled())

Documentation Comment

Because Shane got tired of remembering which way to call this


Caveats


Examples

; Is the shield enabled?
if (ShieldProperty.IsEnabled())
  Debug.Trace("The shield is up!")
endIf

Auto-Generated Example

bool returnedValue = myObjectReference__toCallFunctionOn.IsEnabled()

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.