Difference between revisions of "PlayMagicShaderVisuals"
Jump to navigation
Jump to search
imported>8asrun6aer m (adding related item) |
Tag: Manual revert |
||
(3 intermediate revisions by 3 users not shown) | |||
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== | ||
* [[Effect Shader]] | |||
* [[List of Effect Shaders]] | * [[List of Effect Shaders]] | ||
* [[PlayMagicEffectVisuals]] | * [[PlayMagicEffectVisuals]] |
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]