Difference between revisions of "NiObjectGetType"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
m (NifGetNthChildType moved to NiObjectGetType: replacement function.)
imported>Qazaaq
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:


'''Syntax'''
'''Syntax'''
  (string:ChildType) NifGetNthChildType short:ChildID short:NifID
  (short:typeID) NiObjectGetType short:nifID ''short:blockID''
(short:typeID) NiObjGetType short:nifID ''short:blockID''


Returns the Type name of the specified Child to the root of the nif.
Returns the Type Index of the specified block. The default value of <tt>blockID</tt>, 0, refers to the Nif's root, whose type should usually be <tt>NiNode</tt>.
{{NifSE Child Type List}}


== See Also ==
== See Also ==
* [[NifGetNthExtraDataType]]
* [[NiObjectGetTypeName]]
* [[GetNifTypeIndex]]


[[Category:NifSE|GetNthChildType]]
[[Category:NifSE|ObjectGetType]]
[[Category:NifSE (Children)|GetNthChildType]]
[[Category:NifSE (NiObject)|GetType]]

Latest revision as of 05:43, 9 October 2010

This is a command from NifSE.

Syntax

(short:typeID) NiObjectGetType short:nifID short:blockID
(short:typeID) NiObjGetType short:nifID short:blockID

Returns the Type Index of the specified block. The default value of blockID, 0, refers to the Nif's root, whose type should usually be NiNode.

See Also[edit | edit source]