GetCastTime - Spell

From Creation Kit
(Redirected from GetCastTime - Scroll)
Jump to: navigation, search

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

float Function GetCastTime() native

Parameters

None

Return Value

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

Examples

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

See Also