Difference between revisions of "PlayMagicShaderVisuals"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>8asrun6aer
imported>QQuix
(Added a note)
Line 7: Line 7:
Plays an [[Effect Shader]] on the calling reference. Visuals will play at least one cycle, regardless of
Plays an [[Effect Shader]] on the calling reference. Visuals will play at least one cycle, regardless of
duration, and if no duration is specified they play indefinitely or until the art stops animating.
duration, and if no duration is specified they play indefinitely or until the art stops animating.
==Notes==
*Applying this function on a tree crashes the game.


==See Also==
==See Also==

Revision as of 09:25, 26 August 2013

Syntax:

reference.PlayMagicShaderVisuals EffectShaderID Duration 

Example:

PlayMagicShaderVisuals GhostEffect
pms effectShockShield 10

Plays an Effect Shader on the calling reference. Visuals will play at least one cycle, regardless of duration, and if no duration is specified they play indefinitely or until the art stops animating.

Notes

  • Applying this function on a tree crashes the game.

See Also