Difference between revisions of "PlayMagicShaderVisuals"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
Tag: Manual revert
 
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.

Latest revision as of 16: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]