Difference between revisions of "NiObjectNETGetNumExtraData"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
m (NifGetNumExtraData moved to NiObjectNETGetNumExtraData: new name for function as of alpha 5.)
imported>DragoonWraith
Line 2: Line 2:


'''Syntax'''
'''Syntax'''
  (short:NumExtraData) NifGetNumExtraData short:NifID
  (short:numExtraData) NiObjectNETGetNumExtraData short:nifID ''short:blockID''
(short:numExtraData) NiObjNETGetNumED short:nifID ''short:blockID''


Returns the number of ExtraData nodes attached to the root of the nif.
Returns the number of <tt>NiExtraData</tt>-derived blocks attached to the specified <tt>NiObjectNET</tt>-derived block. Because <tt>blockID</tt> defaults to 0, the NIF's <tt>NiNode</tt> root, and <tt>NiNode</tt> is derived from <tt>NiObjectNET</tt>, this function can be used without the optional argument if seeking the number of <tt>NiExtraData</tt>-derived blocks attached to the root.


== See Also ==
== See Also ==
* [[NifAddExtraData]]
* [[NiObjectNETGetExtraData]]
* [[NifDeleteNthExtraData]]
* [[NiObjectNETAddExtraData]]
* [[NiObjectNETDeleteExtraData]]


[[Category:NifSE|GetNumExtraData]]
[[Category:NifSE|ObjectNETGetNumExtraData]]
[[Category:NifSE (ExtraData)|GetNumExtraData]]
[[Category:NifSE (NiObjectNET)|GetNumExtraData]]

Revision as of 13:31, 29 August 2010

This is a command from NifSE.

Syntax

(short:numExtraData) NiObjectNETGetNumExtraData short:nifID short:blockID
(short:numExtraData) NiObjNETGetNumED short:nifID short:blockID

Returns the number of NiExtraData-derived blocks attached to the specified NiObjectNET-derived block. Because blockID defaults to 0, the NIF's NiNode root, and NiNode is derived from NiObjectNET, this function can be used without the optional argument if seeking the number of NiExtraData-derived blocks attached to the root.

See Also