Difference between revisions of "PlayMagicShaderVisuals"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>QQuix
(Added a note)
Line 4: Line 4:
  PlayMagicShaderVisuals GhostEffect
  PlayMagicShaderVisuals GhostEffect
  pms effectShockShield 10
  pms effectShockShield 10
 
U
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.

Revision as of 16:36, 21 December 2023

Syntax:

reference.PlayMagicShaderVisuals EffectShaderID Duration 

Example:

PlayMagicShaderVisuals GhostEffect
pms effectShockShield 10

U 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