Difference between revisions of "IsActivateChild - ObjectReference"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jlundin
 
imported>Catwheezle
(Added "see also" section items.)
 
Line 26: Line 26:
== See Also ==
== See Also ==
*[[ObjectReference Script]]
*[[ObjectReference Script]]
*[[Activator]]

Latest revision as of 02:43, 16 February 2012

Member of: ObjectReference Script (Papyrus)

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

Syntax[edit | edit source]

bool Function IsActivateChild(ObjectReference akChild) native

Parameters[edit | edit source]

  • akChild: The reference to check against this one.

Return Value[edit | edit source]

Whether akChild is an activate child of this reference.

Examples[edit | edit source]

; 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[edit | edit source]