- Found in:
- SKSE
Description
Wiki Description
Sets the file path for the nif file representing the equipped model of the armor. (This function requires SKSE)
Documentation Comment
sets the model path of the particular model
Caveats
CK Wiki - Notes
- WARNING: Changing the file path of an ArmorAddon affects all armor using it!
- This is to set the nif file of the equipped model on an actor. Use Armor.SetModelPath(...) 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 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 Objects.
- Example: Changing IronHelmetAA (Biped: 31 & 43) to use the model path from EbonyHelmetAA (Biped: 30) will result in a bald character wearing no helmet.
Parameters
stringpath
CK Wiki Description
The file path for the .nif file you want to change to.
boolfirstPerson
CK Wiki Description
Whether to set the file path of the biped armor model (false) or first person armor model (true).
boolfemale
CK Wiki Description
Whether to set the file path of the male armor model (false) or female armor model (true).
Examples
No human-generated examples found for this function.
Auto-Generated Example
string myString__path
bool myBool__firstPerson
bool myBool__female
myArmorAddon__toCallFunctionOn.SetModelPath(myString__path, myBool__firstPerson, myBool__female)Related Pages
- ArmorAddon
- ArmorAddon.GetModelPath(...)
- Armor.GetNthArmorAddon(...)
