Difference between revisions of "GetCastTime - Spell"
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>Cipscis m (Cipscis moved page GetCastTime to GetCastTime - Spell over redirect: Standardising name) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
[[Category:Papyrus]] | [[Category:Papyrus]] | ||
[[Category:SKSE]] | [[Category:SKSE]] | ||
'''SKSE Member of:''' [[Spell Script]] | '''SKSE Member of:''' [[Spell Script]] and [[Scroll Script]] | ||
Returns the time in seconds this spell takes to cast. (This function requires SKSE) | Returns the time in seconds this spell or scroll takes to cast. (This function requires SKSE) | ||
== Syntax == | == Syntax == | ||
Line 15: | Line 15: | ||
== Return Value == | == Return Value == | ||
Returns the time in seconds this spell takes to cast. | Returns the time in seconds this spell or scroll takes to cast. | ||
== Examples == | == Examples == | ||
Line 27: | Line 27: | ||
== See Also == | == See Also == | ||
*[[Spell Script]] | *[[Spell Script]] | ||
*[[Scroll Script]] |
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.")