GetNthChildRef

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(childRef:ref) reference.GetNthChildRef whichChild:short

Returns the nth child reference associated with the calling reference. Child references are stored in no particular order.

Notes[edit | edit source]

  • Index starts with 0 as the first child.

See Also[edit | edit source]