HasSharedPowerGrid - ObjectReference
Jump to navigation
Jump to search
Member of: ObjectReference Script (Papyrus)
Returns true if this reference is on the same power grid as the compared reference.
Syntax[edit | edit source]
bool Function HasSharedPowerGrid(ObjectReference akCompare) native
Parameters[edit | edit source]
- akCompare: The reference to check against this one.
Return Value[edit | edit source]
Whether akCompare is on the same power grid as this reference.
Examples[edit | edit source]
; Is the door on the same power grid as the lever?
if LeverRef.HasSharedPowerGrid(DoorRef)
Debug.Trace("Door is on the same power grid as the lever")
endIf