Mod:Creation Kit/HasNode - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Checks to see if the reference has the specified named node in its 3D.

Syntax
bool Function HasNode(string asNodeName) native

Parameters

 * asNodeName: The name of the 3D node to look for

Return Value
Whether this reference has the specified named node.

Examples
if person.HasNode("Hand") Debug.Trace("Person has a hand! Now do something with it...") endIf
 * check to see if the person has a hand node