Difference between revisions of "NiObjectNETGetExtraDataByName"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
imported>DragoonWraith
Line 7: Line 7:
Searches the extra data list of the specified <tt>NiObjectNET</tt>-derived block for an extra data with the given name. Returns -1 if no such extra data exists. As usual, <tt>blockID</tt> defaults to 0, indicating the root <tt>NiNode</tt> - which is a <tt>NiObjectNET</tt>-derived class, so this function works with the default argument.
Searches the extra data list of the specified <tt>NiObjectNET</tt>-derived block for an extra data with the given name. Returns -1 if no such extra data exists. As usual, <tt>blockID</tt> defaults to 0, indicating the root <tt>NiNode</tt> - which is a <tt>NiObjectNET</tt>-derived class, so this function works with the default argument.


[[Category:NifSE|ExtraDataGetExtraDataByName]]
[[Category:NifSE|ObjectNETGetExtraDataByName]]
[[Category:NifSE (NiExtraData)|GetExtraDataByName]]
[[Category:NifSE (NiExtraData)|GetExtraDataByName]]

Revision as of 21:10, 28 August 2010

This is a command from NifSE.

Syntax

(short:extraDataID) NiObjectNETGetExtraDataByName string:name short:nifID short:blockID
(short:extraDataID) NiObjNETGetEDByName string:name short:nifID short:blockID

Searches the extra data list of the specified NiObjectNET-derived block for an extra data with the given name. Returns -1 if no such extra data exists. As usual, blockID defaults to 0, indicating the root NiNode - which is a NiObjectNET-derived class, so this function works with the default argument.