IsPowered - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Checks if this object is considered powered.

Syntax[edit | edit source]

bool Function IsPowered() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

True if object is powered. False otherwise.

Examples[edit | edit source]

; Is the workshop object powered.
bool isPowered = WorkshopObjectRef.IsPowered()

See Also[edit | edit source]