Scroll Script: Difference between revisions
Jump to navigation
Jump to search
Reverted to List
imported>Egocarib (updated links) |
imported>CraftySentinel (Reverted to List) |
||
| Line 20: | Line 20: | ||
== Member Functions == | == Member Functions == | ||
:'''[[Cast - Scroll|Cast]](ObjectReference ''akSource'', ObjectReference ''akTarget'')''' | |||
:*Casts this scroll from the source object reference, optionally toward a target object reference. | |||
== SKSE Member Functions == | == SKSE Member Functions == | ||
:'''Float [[GetCastTime - Scroll|GetCastTime]]()''' | |||
:*Returns the time to cast the scroll. | |||
:'''Perk [[GetPerk - Scroll|GetPerk]]()''' | |||
:*Returns the perk associated with the spell. | |||
:'''Int [[GetNumEffects - Scroll|GetNumEffects]]()''' | |||
:*Returns the number of effects on this scroll. | |||
:'''Float [[GetNthEffectMagnitude - Scroll|GetNthEffectMagnitude]](Int ''index'')''' | |||
:*Returns the magnitude of the specified effect of this scroll. | |||
:'''Int [[GetNthEffectArea - Scroll|GetNthEffectArea]](Int ''index'')''' | |||
:*Returns the area of the specified effect of this scroll. | |||
:'''Int [[GetNthEffectDuration - Scroll|GetNthEffectDuration]](Int ''index'')''' | |||
:*Returns the duration of the specified effect of this scroll. | |||
:'''MagicEffect [[GetNthEffectMagicEffect - Scroll|GetNthEffectMagicEffect]](Int ''index'')''' | |||
:*Returns the MagicEffect of the specified effect of this scroll. | |||
:'''Int [[GetCostliestEffectIndex - Scroll|GetCostliestEffectIndex]]()''' | |||
:*Returns which effect of the scroll has the highest cost. | |||
:'''[[SetNthEffectMagnitude - Spell|SetNthEffectMagnitude]](Int ''index'', Float ''value'')''' | |||
:*Sets the magnitude of the specified effect of this scroll. | |||
:'''[[SetNthEffectArea - Spell|SetNthEffectArea]](Int ''index'', Int ''value'')''' | |||
:*Sets the area of the specified effect of this scroll. | |||
:'''[[SetNthEffectDuration - Spell|SetNthEffectDuration]](Int ''index'', int ''value'')''' | |||
:*Set the duration of the specified effect of this scroll. | |||
:'''EquipSlot [[GetEquipType - Scroll|GetEquipType]]()''' | |||
:*Returns the equip slot type of the scroll. | |||
:'''[[SetEquipType - Scroll|GetEquipType]](EquipSlot ''type'')''' | |||
:*Sets the equip slot type of the scroll to the specified amount. | |||
== Events == | == Events == | ||
None | None | ||