Difference between revisions of "GetCastTime - Spell"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>PurpleLunchbox
imported>Cipscis
m (Cipscis moved page GetCastTime to GetCastTime - Spell over redirect: Standardising name)
 

Latest revision as of 15:40, 5 September 2012

SKSE Member of: Spell Script and Scroll Script

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

Syntax[edit | edit source]

float Function GetCastTime() native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

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

Examples[edit | edit source]

Spell Property LightningStorm Auto

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

See Also[edit | edit source]