Difference between revisions of "PlayMagicShaderVisuals"
Jump to navigation
Jump to search
imported>Kkuhlmann |
imported>Quetzilla (applies to 1st person/3rd person player model spearately) |
||
Line 8: | Line 8: | ||
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. | 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. | ||
==Notes== | |||
*When playing a shader on the player, the effect will be applied to the current perspective state -- if the player is in first person when the shader is started, the effect will not be visible if the player switches to third person, and vice versa. | |||
==See Also== | ==See Also== | ||
[[PlayMagicEffectVisuals]] | *[[PlayMagicEffectVisuals]] | ||
*[[StopMagicShaderVisuals]] | |||
[[StopMagicShaderVisuals]] | |||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category:Game Effect Functions]] | [[Category:Game Effect Functions]] |
Revision as of 23:06, 25 December 2008
Syntax:
PlayMagicShaderVisuals EffectShaderID, Duration (optional)
Example:
PlayMagicShaderVisuals GhostEffect pms effectElectroShield 10
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.
Notes
- When playing a shader on the player, the effect will be applied to the current perspective state -- if the player is in first person when the shader is started, the effect will not be visible if the player switches to third person, and vice versa.