Difference between revisions of "SetModelPath - ArmorAddon"

275 bytes added ,  15:58, 29 September 2013
Notes: added graphical glitch details.
imported>Loop not defined
imported>Loop not defined
(Notes: added graphical glitch details.)
Line 51: Line 51:
*This is to set the nif file of the equipped model on an actor.  Use [[SetModelPath - Armor]] to set the nif file of the armor as it appears on the ground.
*This is to set the nif file of the equipped model on an actor.  Use [[SetModelPath - Armor]] to set the nif file of the armor as it appears on the ground.
*Remember that this function sets string values for ''ArmorAddon'' objects, not for ''Armor'' objects.  You can use [[GetNthArmorAddon - Armor|GetNthArmorAddon]] on Armor objects to quickly retrieve ArmorAddon objects, however.
*Remember that this function sets string values for ''ArmorAddon'' objects, not for ''Armor'' objects.  You can use [[GetNthArmorAddon - Armor|GetNthArmorAddon]] on Armor objects to quickly retrieve ArmorAddon objects, however.
*Graphical glitches can result if the target ArmorAddon and the source ArmorAddon do not use the same [[Biped Object]]s.
**Example: Changing IronHelmetAA (Biped: 31 & 43) to use the model path from EbonyHelmetAA (Biped: 30) will result in a bald character wearing no helmet.


== See Also ==
== See Also ==