Difference between revisions of "NiObjectNETDeleteExtraData"

Jump to navigation Jump to search
235 bytes added ,  15:59, 27 August 2010
no edit summary
imported>DragoonWraith
m (NifObjectNETDeleteExtraData moved to NiObjectNETDeleteExtraData: forgot to delete the 'f'.)
imported>DragoonWraith
Line 2: Line 2:


'''Syntax'''
'''Syntax'''
  (bool:success) NifDeleteNthExtraData short:ExtraDataID short:NifID
  (bool:success) NiObjectNETDeleteExtraData short:ExtraDataID short:NifID ''short:blockID''


Removes the specified ExtraData node from the specified nif. Returns 0 if it fails to do so for any reason (also prints a notice to the Console and NifSE.log).
Removes the <tt>NiExtraData</tt>-derived object indicated by <tt>ExtraDataID</tt> from the <tt>NiObjectNET</tt>-derived block indicated by <tt>blockID</tt>. As usual, <tt>blockID</tt> defaults to 0, which is usually the root <tt>NiNode</tt>. <tt>NiNode</tt> blocks are derived from <tt>NiObjectNET</tt>, and this function therefore works on the root.


== See Also ==
== See Also ==
* [[NifGetNumExtraData]]
* [[NiObjectNETGetNumExtraData]]
* [[NifAddExtraData]]
* [[NiObjectNETAddExtraData]]


[[Category:NifSE|DeleteNthExtraData]]
[[Category:NifSE|ObjectNETDeleteExtraData]]
[[Category:NifSE (ExtraData)|DeleteNthExtraData]]
[[Category:NifSE (NiExtraData)|DeleteExtraData]]

Navigation menu