Difference between revisions of "WornObject Script"
Jump to navigation
Jump to search
imported>CraftySentinel (Created WornObject Script, Currently a Stub just with the functions) |
imported>CraftySentinel m (MIssing '' added) |
||
Line 36: | Line 36: | ||
:* | :* | ||
:'''[[SetEnchantment - WornObject| SetItemMaxCharge]](Actor ''akActor'', Int ''handSlot, Int ''slotMask'', Enchantment ''source'', Float ''maxCharge'')''' | :'''[[SetEnchantment - WornObject| SetItemMaxCharge]](Actor ''akActor'', Int ''handSlot'', Int ''slotMask'', Enchantment ''source'', Float ''maxCharge'')''' | ||
:* | :* | ||
Revision as of 04:07, 3 February 2014
Script for the manipulation of Worn Objects.
Definition
ScriptName WornObject
SKSE Global Functions
- Float GetItemHealthPercent(Actor akActor, Int handSlot, Int slotMask)
- SetItemHealthPercent(Actor akActor, Int handSlot, Int slotMask, Float health)
- SetItemMaxCharge(Actor akActor, Int handSlot, Int slotMask, Float maxCharge)
- Float GetItemMaxCharge(Actor akActor, Int handSlot, Int slotMask)
- Float GetItemCharge(Actor akActor, Int handSlot, Int slotMask)
- String GetDisplayName(Actor akActor, Int handSlot, Int slotMask)
- Bool SetDisplayName(Actor akActor, Int handSlot, Int slotMask, String name, Bool forced)
- Enchantment GetEnchantment(Actor akActor, Int handSlot, Int slotMask)
- SetItemMaxCharge(Actor akActor, Int handSlot, Int slotMask, Enchantment source, Float maxCharge)
- CreateEnchantment(Actor akActor, Int handSlot, Int slotMask, Float maxCharge, MagicEffect[] effects, Float[] magnitudes, Int[] areas, Int[] durations)
- Creates a new Enchantment on the worn object with the specified parameters.
- Int GetNumReferenceAliases(Actor akActor, Int handSlot, Int slotMask)
- Returns the number of reference aliases holding this worn object.
- ReferenceAlias GetNthReferenceAlias(Actor akActor, Int handSlot, Int slotMask, Int n)
- Returns the nth Reference alias holding this worn object.