Background for Skyrim SE

The ArmorAddon Script

    The ArmorAddon script is a part of Skyrim SE’s Papyrus scripting ecosystem. This script is not present in the vanilla game, but can be found in modded sources like Skyrim Script Extender x64 (SKSE).

    For this script, the Papyrus index knows about:

    • 12 functions


    Inheritance Tree

    No indexed scripts extend this script.

    Properties

    No properties found.

      Events

        No events found.

      Functions

      • stringfunctionGetModelPath(boolfirstPerson, boolfemale)Native

        Returns the file path for the nif file representing the equipped model of the armor. (This function requires SKSE)

      • voidfunctionSetModelPath(stringpath, boolfirstPerson, boolfemale)Native

        Sets the file path for the nif file representing the equipped model of the armor. (This function requires SKSE)

      • intfunctionGetModelNumTextureSets(boolfirst, boolfemale)Native

        returns the number of texturesets for the particular model

      • TextureSetfunctionGetModelNthTextureSet(intn, boolfirst, boolfemale)Native

        returns the nth textureset for the particular model

      • voidfunctionSetModelNthTextureSet(TextureSettexture, intn, boolfirst, boolfemale)Native

        sets the nth textureset for the particular model

      • intfunctionGetNumAdditionalRaces()Native

        returns the number of races this armor addon applies to

      • RacefunctionGetNthAdditionalRace(intn)Native

        returns the nth race this armor addon applies to

      • intfunctionGetSlotMask()Native

        returns the slot mask for the armor addon.

      • voidfunctionSetSlotMask(intslotMask)Native

        sets the slot mask for the armor addon

      • intfunctionAddSlotToMask(intslotMask)Native

        adds the specified slotMask to the armor addon

      • intfunctionRemoveSlotFromMask(intslotMask)Native

        removes the specified slot masks from the armor addon

      • intfunctionGetMaskForSlot(intslot)Global

        calculates the equivalent mask value for the slot
        This is a global function, use it directly from Armor as it is faster

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