IsDisabled - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Checks to see if this object is currently disabled.

Syntax[edit | edit source]

bool Function IsDisabled() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

If this object is currently disabled.

Examples[edit | edit source]

; Is the shield disabled?
if (ShieldProperty.IsDisabled())
  Debug.Trace("The shield is down!")
endIf

See Also[edit | edit source]