Difference between revisions of "GetParentRef"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>PoHa!
(entered info, used the template for functions)
imported>Hugepinball
(function name in example was wrong)
 
Line 8: Line 8:


  |example = <pre>ref myParent
  |example = <pre>ref myParent
set myParent to BuddyRef.GetEnableParent</pre>
set myParent to BuddyRef.GetParentRef</pre>
This will set ''myParent'' to BuddyRef's enable parent
This will set ''myParent'' to BuddyRef's enable parent
}}
}}

Latest revision as of 16:48, 11 March 2010

< [[::Category:Functions|Category:Functions]]

Link to TES4 Construction Set Wiki: GetParentRef.

A function included in the GECK version 1.1.0.36.

Description

Returns the enable parent reference, as set in the Enable Parent tab of the Reference dialog. A reference with an enable parent will disable/enable in accordance with its parent

Syntax

[help]
(ref) [Actor, Activator].GetParentRef

Example

ref myParent
set myParent to BuddyRef.GetParentRef

This will set myParent to BuddyRef's enable parent

Notes

None

See Also