GetCastTime - Spell

SKSE Member of: Spell Script and Scroll Script

Returns the time in seconds this spell or scroll takes to cast. (This function requires SKSE)

SyntaxEdit

float Function GetCastTime() native

ParametersEdit

None

Return ValueEdit

Returns the time in seconds this spell or scroll takes to cast.

ExamplesEdit

Spell Property LightningStorm Auto

float castTime = LightningStorm.GetCastTime()
Debug.Trace("Lightning storm takes " + castTime + " seconds to cast.")

See AlsoEdit