Difference between revisions of "GetCastTime - Spell"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>PurpleLunchbox
(Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' Spell Script Returns the time in seconds this spell takes to cast. (This function requ...")
 
imported>PurpleLunchbox
m (moved GetCastTime - Spell to GetCastTime: Shared with Scroll Script)

Revision as of 15:23, 10 May 2012

SKSE Member of: Spell Script

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

Syntax

float Function GetCastTime() native

Parameters

None

Return Value

Returns the time in seconds this spell takes to cast.

Examples

Spell Property LightningStorm Auto

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

See Also