Difference between revisions of "NiObjectNETDeleteExtraData"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
m (NifDeleteNthExtraData moved to NifObjectNETDeleteExtraData: new name for function as of alpha 5.)
imported>DragoonWraith
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


'''Syntax'''
'''Syntax'''
  (bool:success) NifDeleteNthExtraData short:ExtraDataID short:NifID
  (bool:success) NiObjectNETDeleteExtraData short:ExtraDataID short:NifID ''short:blockID''
(bool:success) NiObjNETDelED 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 (NiObjectNET)|DeleteExtraData]]
[[Category:NifSE (NiExtraData)|!ObjectNETDeleteExtraData]]

Latest revision as of 23:57, 20 January 2011

This is a command from NifSE.

Syntax

(bool:success) NiObjectNETDeleteExtraData short:ExtraDataID short:NifID short:blockID
(bool:success) NiObjNETDelED 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[edit | edit source]