HasSharedPowerGrid - ObjectReference

Revision as of 15:20, 17 November 2015 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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