Difference between revisions of "Scroll Script"
Jump to navigation
Jump to search
imported>CraftySentinel m (Formatting Change) |
imported>CraftySentinel (→SKSE Member Functions: Added SKSE Member functions should now contain all SKSE functions upto 1.06.16) |
||
Line 36: | Line 36: | ||
!style="text-align:left;"|Description | !style="text-align:left;"|Description | ||
|- | |- | ||
|[[GetCastTime - Scroll|Float '''GetCastTime'''()]] | |[[GetCastTime - Scroll|Float '''GetCastTime'''()]] | ||
|Returns the time to cast the scroll. | |Returns the time to cast the scroll. | ||
|- | |||
|[[GetPerk - Scroll|Perk '''GetPerk'''()]] | |||
|Returns the perk associated with the spell. | |||
|- | |- | ||
Line 63: | Line 68: | ||
|Returns which effect of the scroll has the highest cost. | |Returns which effect of the scroll has the highest cost. | ||
|- | |- | ||
|[[SetNthEffectMagnitude - Scroll|'''SetNthEffectMagnitude'''(Int ''index'', Float ''value'')]] | |||
|Sets the magnitude of the specified effect of this scroll. | |||
|- | |||
|[[SetNthEffectArea - Scroll|'''SetNthEffectArea'''(Int ''index'', Int ''value'')]] | |||
|Sets the area of the specified effect of this scroll. | |||
|- | |||
|[[SetNthEffectDuration - Scroll|Int '''SetNthEffectDuration'''(Int ''index'', int ''value'')]] | |||
|Set the duration of the specified effect of this scroll. | |||
|- | |||
|[[GetEquipType - Scroll|EquipSlot '''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. | |||
|- | |||
|} | |} |
Revision as of 23:28, 29 October 2013
Extends: Form Script
Script for the manipulation of scrolls.
Definition
ScriptName Scroll extends Form
Properties
None
Global Functions
None
Member Functions
Function | Description |
---|---|
Cast(ObjectReference akSource, ObjectReference akTarget) | Casts this scroll from the source object reference, optionally toward a target object reference. |
SKSE Member Functions
Function | Description |
---|---|
Float GetCastTime() | Returns the time to cast the scroll. |
Perk GetPerk() | Returns the perk associated with the spell. |
Int GetNumEffects() | Returns the number of effects on this scroll. |
Float GetNthEffectMagnitude(Int index) | Returns the magnitude of the specified effect of this scroll. |
Int GetNthEffectArea(Int index) | Returns the area of the specified effect of this scroll. |
Int GetNthEffectDuration(Int index) | Returns the duration of the specified effect of this scroll. |
MagicEffect GetNthEffectMagicEffect(Int index) | Returns the MagicEffect of the specified effect of this scroll. |
Int GetCostliestEffectIndex() | Returns which effect of the scroll has the highest cost. |
SetNthEffectMagnitude(Int index, Float value) | Sets the magnitude of the specified effect of this scroll. |
SetNthEffectArea(Int index, Int value) | Sets the area of the specified effect of this scroll. |
Int SetNthEffectDuration(Int index, int value) | Set the duration of the specified effect of this scroll. |
EquipSlot GetEquipType() | Returns the equip slot type of the scroll. |
GetEquipType(EquipSlot type) | Sets the equip slot type of the scroll to the specified amount. |
Events
None