Mod:Creation Kit/Play - EffectShader

Member of: Mod:Creation Kit/EffectShader Script

Plays this magic effect shader on the object for the specified duration in seconds.

Syntax
Function Play(ObjectReference akObject, float afDuration = -1.0) native

Parameters

 * akObject: The object to play the effect on.
 * afDuration: How long to play the effect for, in seconds. If duration is negative, the effect will play until told to stop.
 * Default: -1.0

Return Value
None.

Examples
Sparkle.Play(Werewolf) Sparkle.Play(Werewolf, 5.0)
 * Play the sparkle effect on the werewolf until told to stop
 * Play the sparkle effect on the werewolf for 5 seconds