IsPowered - ObjectReference

Member of: ObjectReference Script

Checks if this object is considered powered.

SyntaxEdit

bool Function IsPowered() native

ParametersEdit

None.

Return ValueEdit

True if object is powered. False otherwise.

ExamplesEdit

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

See AlsoEdit