Difference between revisions of "NiObjectNETSetName"
Jump to navigation
Jump to search
imported>DragoonWraith (New page: This is a command from Category:NifSE. '''Syntax''' (bool:success) NifSetNthChildName string:Name short:ChildID short:NifID Renames the specified Child to the root. Returns a 0 if...) |
imported>DragoonWraith (about NiEDSetName) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
'''Syntax''' |
'''Syntax''' |
||
(bool:success) |
(bool:success) NiObjectNETSetName string:name short:nifID ''short:blockID'' |
||
(bool:success) NiObjNETSetName string:name short:nifID ''short:blockID'' |
|||
Renames the specified |
Renames the specified <tt>NiObjectNET</tt>-derived block. The NIF's root is a <tt>NiNode</tt>, which is derived from <tt>NiObjectNET</tt>, so using the default value of <tt>blockID</tt>, 0, will change the root's name. Returns a 1 on success and a 0 otherwise. |
||
== Note == |
|||
| ⚫ | |||
* <tt>NiExtraData</tt> blocks have names, but are not derived from <tt>NiObjectNET</tt>. Therefore, you must use [[NiExtraDataSetName]] for those blocks. |
|||
| ⚫ | |||
== See Also == |
|||
* [[NiObjectNETGetName]] |
|||
* [[NiExtraDataGetName]] |
|||
* [[NiExtraDataSetName]] |
|||
| ⚫ | |||
| ⚫ | |||
Latest revision as of 14:15, 29 August 2010
This is a command from NifSE.
Syntax
(bool:success) NiObjectNETSetName string:name short:nifID short:blockID (bool:success) NiObjNETSetName string:name short:nifID short:blockID
Renames the specified NiObjectNET-derived block. The NIF's root is a NiNode, which is derived from NiObjectNET, so using the default value of blockID, 0, will change the root's name. Returns a 1 on success and a 0 otherwise.
Note[edit | edit source]
- NiExtraData blocks have names, but are not derived from NiObjectNET. Therefore, you must use NiExtraDataSetName for those blocks.