Background for Skyrim SE
Member of the PO3_SKSEFunctions script
voidfunctionReplaceArmorTextureSet(ActorakActor, ArmorakArmor, TextureSetakSourceTXST, TextureSetakTargetTXST, intaiTextureType=-1)NativeGlobal

Description

GitHub Wiki Description (PO3's PE)

  • Replaces specified source textureset on worn armor with target textureset.
  • If texture type is -1, the entire textureset is replaced.
  • Otherwise the texture map specified at [textureType] index is replaced (diffuse is 0, normal is 1...)

Caveats


Parameters

ActorakActor

ArmorakArmor

TextureSetakSourceTXST

TextureSetakTargetTXST

intaiTextureType=-1


Examples

Auto-Generated Example

Actor myActor__akActor
Armor myArmor__akArmor
TextureSet myTextureSet__akSourceTXST
TextureSet myTextureSet__akTargetTXST
int myInt__aiTextureType

PO3_SKSEFunctions.ReplaceArmorTextureSet(myActor__akActor, myArmor__akArmor, myTextureSet__akSourceTXST, myTextureSet__akTargetTXST, myInt__aiTextureType)

Additional References

View this function on the GitHub Wiki for powerofthree's Papyrus Extender

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.