IsActivateChild - ObjectReference

From the CreationKit Wiki
Revision as of 16:17, 24 October 2011 by imported>Jlundin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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