Difference between revisions of "PlayMagicShaderVisuals"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(added optional reference)
Tag: Manual revert
 
(5 intermediate revisions by 4 users not shown)
Line 5: Line 5:
  pms effectShockShield 10
  pms effectShockShield 10


 
Plays an [[Effect Shader]] on the calling reference. Visuals will play at least one cycle, regardless of
Plays the effect shader visuals 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==
* [[Effect Shader]]
* [[List of Effect Shaders]]
* [[PlayMagicEffectVisuals]]
* [[PlayMagicEffectVisuals]]
* [[StopMagicShaderVisuals]]
* [[StopMagicShaderVisuals]]

Latest revision as of 15:36, 21 December 2023

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[edit | edit source]

  • Applying this function on a tree crashes the game.

See Also[edit | edit source]