PlayMagicShaderVisuals

From the Oblivion ConstructionSet Wiki
Revision as of 15:36, 21 December 2023 by 173.17.114.221 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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]