IsActivateChild - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: ObjectReference Script (Papyrus)

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

Syntax

bool Function IsActivateChild(ObjectReference akChild) native

Parameters

  • akChild: The reference to check against this one.

Return Value

Whether akChild is an activate child of this reference.

Examples

; 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 Also