GetCastTime - Spell: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Cipscis
m (Cipscis moved page GetCastTime to GetCastTime - Spell over redirect: Standardising name)
m (Convert source tags to syntaxhighlight)
 
Line 7: Line 7:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
float Function GetCastTime() native
float Function GetCastTime() native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 18: Line 18:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Spell Property LightningStorm Auto
Spell Property LightningStorm Auto


float castTime = LightningStorm.GetCastTime()
float castTime = LightningStorm.GetCastTime()
Debug.Trace("Lightning storm takes " + castTime + " seconds to cast.")
Debug.Trace("Lightning storm takes " + castTime + " seconds to cast.")
</source>
</syntaxhighlight>


== See Also ==
== See Also ==
*[[Spell Script]]
*[[Spell Script]]
*[[Scroll Script]]
*[[Scroll Script]]

Navigation menu