GetWornForm - Actor
Revision as of 08:18, 16 June 2012 by imported>Moorleiche2k
SKSE Member of: Actor Script
Returns the form of the item worn with the specified slotMask. (This function requires SKSE)
Syntax
Form Function GetWornForm(int slotMask) native
Parameters
- slotMask: The slot mask of the worn item.
Return Value
- The form of the equipped item with the specified slot mask.
Examples
; Obtain the player's currently equipped cuirass
Armor Cuirass = Game.GetPlayer().GetWornForm(0x00000004) as Armor
Notes:
Might be broken for Skyrim 1.6.89.0.6 and SKSE 1.05.09. Reading out slotmasks 30-43 with only "Iron Armor" (Biped Object 32 - body) equipped returned "Forms" for slotmasks 30,31,36-39 instead of just 32. "Circlet of Peerless Restoration" (Biped Object 42 - circlet) didn't returned anything.