Difference between revisions of "Spell Script"

56 bytes added ,  15:53, 5 September 2012
Updated links to point to function pages with appropriate names
imported>PurpleLunchbox
imported>Cipscis
(Updated links to point to function pages with appropriate names)
Line 31: Line 31:


== SKSE Member Functions ==
== SKSE Member Functions ==
'''float Function [[GetCastTime|GetCastTime]]()'''
'''float Function [[GetCastTime - Spell|GetCastTime]]()'''
*Returns the time to cast the spell.
*Returns the time to cast the spell.


'''int Function [[GetNumEffects|GetNumEffects]]()'''
'''int Function [[GetNumEffects - Spell|GetNumEffects]]()'''
*Returns the number of effects on this spell.
*Returns the number of effects on this spell.


'''float Function [[GetNthEffectMagnitude|GetNthEffectMagnitude]](int index)'''
'''float Function [[GetNthEffectMagnitude - Spell|GetNthEffectMagnitude]](int index)'''
*Returns the magnitude of the specified effect of this spell.
*Returns the magnitude of the specified effect of this spell.


'''int Function [[GetNthEffectArea|GetNthEffectArea]](int index)'''
'''int Function [[GetNthEffectArea - Spell|GetNthEffectArea]](int index)'''
*Returns the area of the specified effect of this spell.
*Returns the area of the specified effect of this spell.


'''int Function [[GetNthEffectDuration|GetNthEffectDuration]](int index)'''
'''int Function [[GetNthEffectDuration - Spell|GetNthEffectDuration]](int index)'''
*Returns the duration of the specified effect of this spell.
*Returns the duration of the specified effect of this spell.


'''MagicEffect Function[[GetNthEffectMagicEffect|GetNthEffectMagicEffect]](int index)'''
'''MagicEffect Function[[GetNthEffectMagicEffect - Spell|GetNthEffectMagicEffect]](int index)'''
*Returns the MagicEffect of the specified effect of this spell.
*Returns the MagicEffect of the specified effect of this spell.


'''int Function [[GetCostliestEffectIndex|GetCostliestEffectIndex]]()'''
'''int Function [[GetCostliestEffectIndex - Spell|GetCostliestEffectIndex]]()'''
*Returns which effect of the spell has the highest cost.
*Returns which effect of the spell has the highest cost.


== Events ==
== Events ==
None
None
Anonymous user