Difference between revisions of "NiObjectGetType"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(New page: This is a command from Category:NifSE. '''Syntax''' (string:ChildType) NifGetNthChildType short:ChildID short:NifID Returns the Type name of the specified Child to the root of the...)
 
imported>Qazaaq
 
(4 intermediate revisions 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 ==
* [[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]