IsActivateChild - ObjectReference

Revision as of 03:43, 16 February 2012 by imported>Catwheezle (Added "see also" section items.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: ObjectReference Script (Papyrus)

Returns whether the passed in reference is an activate child of this reference.

SyntaxEdit

bool Function IsActivateChild(ObjectReference akChild) native

ParametersEdit

  • akChild: The reference to check against this one.

Return ValueEdit

Whether akChild is an activate child of this reference.

ExamplesEdit

; Is the door the activate child of the lever?
if LeverRef.IsActivateChild(DoorRef)
  Debug.Trace("Door is an activate child of the lever")
endIf

See AlsoEdit