Difference between revisions of "NiAVObjectGetPropertyByType"
Jump to navigation
Jump to search
imported>DragoonWraith m (NifGetNthChildMaterial moved to NiAVObjectGetPropertyByType: Closest match in alpha 5.) |
imported>DragoonWraith |
||
Line 2: | Line 2: | ||
'''Syntax''' | '''Syntax''' | ||
( | (short:propertyID) NiAVObjectGetPropertyByType short:typeID short:nifID ''short:blockID'' | ||
(short:propertyID) NiAVObjGetPropByType short:typeID short:nifID ''short:blockID'' | |||
Searches the specified <tt>NiAVObject</tt>-derived block for a property of the given type. Use [[GetNifTypeIndex]] to get the desired <tt>typeID</tt>. The <tt>blockID</tt> argument defaults to 0, indicating the root. The root is usually a <tt>NiNode</tt>, which is derived from <tt>NiAVObject</tt>; thus, this function will work with the default argument. | |||
[[Category:NifSE|AVObjectGetPropertyByType]] | |||
[[Category:NifSE (NiAVObject)|GetPropertyByType]] | |||
[[Category:NifSE| | |||
[[Category:NifSE ( |
Revision as of 10:44, 29 August 2010
This is a command from NifSE.
Syntax
(short:propertyID) NiAVObjectGetPropertyByType short:typeID short:nifID short:blockID (short:propertyID) NiAVObjGetPropByType short:typeID short:nifID short:blockID
Searches the specified NiAVObject-derived block for a property of the given type. Use GetNifTypeIndex to get the desired typeID. The blockID argument defaults to 0, indicating the root. The root is usually a NiNode, which is derived from NiAVObject; thus, this function will work with the default argument.