Difference between revisions of "PlayMagicShaderVisuals"

From GECK

m
m (Reverted edits by OMudd (talk) to last revision by Geckbot)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''Syntax:'''
+
==Description==
PlayMagicShaderVisuals ''EffectShaderID, Duration (optional)''
+
Plays the [[EffectShader]] 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.
'''Example:'''
+
PlayMagicShaderVisuals GhostEffect
+
pms effectElectroShield 10
+
  
  
Plays the [[EffectShader]] 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.
+
==Syntax==
 +
PlayMagicShaderVisuals ''EffectShaderID, Duration (optional)''
 +
==Example==
 +
PlayMagicShaderVisuals SmokeFlameBurn
 +
pms PlasmaGooificationGlow 10
 +
 
  
 
==Notes==
 
==Notes==
Line 16: Line 18:
  
 
[[Category: Functions]]
 
[[Category: Functions]]
 +
[[Category: Functions (GECK 1.1)]]
 
[[Category:Game Effect Functions]]
 
[[Category:Game Effect Functions]]
 +
[[Category:Game Effect Functions (GECK 1.1)]]

Latest revision as of 12:04, 11 October 2011

Description

Plays the EffectShader 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.


Syntax

PlayMagicShaderVisuals EffectShaderID, Duration (optional) 

Example

PlayMagicShaderVisuals SmokeFlameBurn
pms PlasmaGooificationGlow 10


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

Personal tools