HasSharedPowerGrid - ObjectReference

Member of: ObjectReference Script (Papyrus)

Returns true if this reference is on the same power grid as the compared reference.

SyntaxEdit

bool Function HasSharedPowerGrid(ObjectReference akChild) native

ParametersEdit

  • akChild: The reference to check against this one.

Return ValueEdit

Whether akChild is on the same power grid as this reference.

ExamplesEdit

; 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

See AlsoEdit