Difference between revisions of "ArmorAddon Script"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>CraftySentinel
(→‎SKSE Member Functions: Added Slot Mask Functions)
imported>CraftySentinel
(Added Global SKSE Function)
Line 20: Line 20:
None
None


== SKSE Global Functions ==
{|class="wikitable" width =100%
!style="text-align:left;"|Function
!style="text-align:left;"|Description
|-
|[[GetMaskForSlot - ArmorAddon|Int '''GetMaskForSlot'''(Int ''slot'')]]
|Returns the slot mask for a single slot.
|-
|}
== Member Functions ==
== Member Functions ==
None
None

Revision as of 03:21, 29 October 2013


Extends: Form Script

Script for the manipulation of ArmorAddon base objects. (This type requires SKSE)

Definition

ScriptName ArmorAddon extends Form

Properties

None

Global Functions

None

SKSE Global Functions

Function Description
Int GetMaskForSlot(Int slot) Returns the slot mask for a single slot.

Member Functions

None

SKSE Member Functions

Function Description
String GetModelPath(Bool firstPerson, Bool female) Returns the model path of this ArmorAddon.
SetModelPath(String path, Bool firstPerson, Bool female) Sets the model path of this ArmorAddon.
Int GetModelNumTextureSets(Bool firstPerson, Bool female) Returns the number of TextureSets for this ArmorAddon.
TextureSet GetModelNthTextureSet(Int n, Bool firstPerson, Bool female) Returns Nth TextureSet for this ArmorAddon.
SetModelNthTextureSet(TextureSet texture, Int n, Bool firstPerson, Bool female) Sets the Nth TextureSet for this ArmorAddon.
Int GetNumAdditionalRaces() Returns the number of races this ArmorAddon applies to.
Race GetNthAdditionalRace(Int n) Returns the Nth race this ArmorAddon applies to.
Int GetSlotMask() Returns the slot mask for the armor addon.
SetSlotMask(Int slotMask) Sets the slot mask for the armor addon.
Int AddSlotToMask(Int slotMask) Adds the specified slot mask to the armor addon and returns the new slot mask for the armor addon.
Int RemoveSlotFromMask(Int slotMask) Removes the specified slot masks from the armor addon and returns the new slot mask for the armor addon.

Events

None