Difference between revisions of "WornObject Script"

Jump to navigation Jump to search
7 bytes removed ,  12:50, 16 February 2014
error in link text
imported>CraftySentinel
m (Removed a ')
imported>Egocarib
(error in link text)
Line 24: Line 24:
:*Returns the worn objects max charge.
:*Returns the worn objects max charge.


:'''Float [[GetItemCharge - WornObject| GetItemCharge]](Actor ''akActor'', Int ''handSlot'', Int ''slotMask'')'''
:'''Float [[GetItemCharge - WornObject|GetItemCharge]](Actor ''akActor'', Int ''handSlot'', Int ''slotMask'')'''
:*Returns the current charge of the worn object.
:*Returns the current charge of the worn object.


:'''String [[GetDisplayName - WornObject| GetDisplayName]](Actor ''akActor'', Int ''handSlot'', Int ''slotMask'')'''
:'''String [[GetDisplayName - WornObject|GetDisplayName]](Actor ''akActor'', Int ''handSlot'', Int ''slotMask'')'''
:*Returns the name of the worn object (This is the name that is displayed)
:*Returns the name of the worn object (This is the name that is displayed)


:'''Bool [[SetDisplayName- WornObject| SetDisplayName]](Actor ''akActor'', Int ''handSlot'', Int ''slotMask'', String ''name'', Bool ''forced'')'''
:'''Bool [[SetDisplayName- WornObject|SetDisplayName]](Actor ''akActor'', Int ''handSlot'', Int ''slotMask'', String ''name'', Bool ''forced'')'''
:*Sets the display name of the worn object.
:*Sets the display name of the worn object.


:'''Enchantment [[GetEnchantment - WornObject| GetEnchantment]](Actor ''akActor'', Int ''handSlot'', Int ''slotMask'')'''
:'''Enchantment [[GetEnchantment - WornObject|GetEnchantment]](Actor ''akActor'', Int ''handSlot'', Int ''slotMask'')'''
:*Returns the player-made enchantment if there is one
:*Returns the player-made enchantment if there is one


:'''[[SetEnchantment - WornObject| SetItemMaxCharge]](Actor ''akActor'', Int ''handSlot'', Int ''slotMask'', Enchantment ''source'', Float ''maxCharge'')'''
:'''[[SetEnchantment - WornObject|SetEnchantment]](Actor ''akActor'', Int ''handSlot'', Int ''slotMask'', Enchantment ''source'', Float ''maxCharge'')'''
:*Changes an item's player-made enchantment to the specified Enchant and max charge.
:*Changes an item's player-made enchantment to the specified Enchant and max charge.


Anonymous user

Navigation menu