Difference between revisions of "Spell Script"

917 bytes added ,  02:55, 10 May 2012
→‎SKSE Member Functions: Added SKSE Member Function list
imported>Jog
imported>Behippo
(→‎SKSE Member Functions: Added SKSE Member Function list)
Line 27: Line 27:
'''Function [[RemoteCast - Spell|RemoteCast]](ObjectReference akSource, Actor akBlameActor, ObjectReference akTarget)'''
'''Function [[RemoteCast - Spell|RemoteCast]](ObjectReference akSource, Actor akBlameActor, ObjectReference akTarget)'''
*Casts this spell from the source object reference, with akBlameActor getting blame for any crime
*Casts this spell from the source object reference, with akBlameActor getting blame for any crime
== SKSE Member Functions ==
'''float Function [[GetCastTime - Spell|GetCastTime]]()'''
*Returns the time to cast the spell.
'''int Function [[GetNumEffects|GetNumEffects]]()'''
*Returns the number of effects on this spell.
'''float Function [[GetNthEffectMagnitude|GetNthEffectMagnitude]](int index)'''
*Returns the magnitude of the specified effect of this spell.
'''int Function [[GetNthEffectArea|GetNthEffectArea]](int index)'''
*Returns the area of the specified effect of this spell.
'''int Function [[GetNthEffectDuration|GetNthEffectDuration]](int index)'''
*Returns the duration of the specified effect of this spell.
'''MagicEffect Function[[GetNthEffectMagicEffect|GetNthEffectMagicEffect]](int index)'''
*Returns the MagicEffect of the specified effect of this spell.
'''int Function [[GetCostliestEffectIndex|GetCostliestEffectIndex]]()'''
*Returns which effect of the spell has the highest cost.


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