Difference between revisions of "PlayMagicShaderVisuals"

From GECK

m
(editted the page, used examples from Fallout)
Line 1: Line 1:
 +
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:'''
 
'''Syntax:'''
 
  PlayMagicShaderVisuals ''EffectShaderID, Duration (optional)''  
 
  PlayMagicShaderVisuals ''EffectShaderID, Duration (optional)''  
 
'''Example:'''
 
'''Example:'''
  PlayMagicShaderVisuals GhostEffect
+
  PlayMagicShaderVisuals SmokeFlameBurn
  pms effectElectroShield 10
+
  pms PlasmaGooificationGlow 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.
 
  
 
==Notes==
 
==Notes==

Revision as of 07:24, 2 January 2009

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