Difference between revisions of "NiObjectNETDeleteExtraData"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
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]]

Revision as of 15:59, 27 August 2010

This is a command from NifSE.

Syntax

(bool:success) NiObjectNETDeleteExtraData short:ExtraDataID short:NifID short:blockID

Removes the NiExtraData-derived object indicated by ExtraDataID from the NiObjectNET-derived block indicated by blockID. As usual, blockID defaults to 0, which is usually the root NiNode. NiNode blocks are derived from NiObjectNET, and this function therefore works on the root.

See Also