GetWornForm - Actor

From the CreationKit Wiki
Revision as of 11:40, 16 June 2012 by imported>Moorleiche2k (→‎Notes:)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SKSE Member of: Actor Script

Returns the form of the item worn with the specified slotMask. (This function requires SKSE)

Syntax[edit | edit source]

Form Function GetWornForm(int slotMask) native

Parameters[edit | edit source]

Return Value[edit | edit source]

  • The form of the equipped item with the specified slot mask.

Examples[edit | edit source]

; Obtain the player's currently equipped cuirass
Armor Cuirass = Game.GetPlayer().GetWornForm(0x00000004) as Armor

See Also[edit | edit source]