PlayMagicShaderVisuals

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

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

[help]
[Reference].PlayMagicShaderVisuals effectShaderID:baseform duration:float 

Or:

[Reference].PMS effectShaderID:baseform duration:float

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.
  • If no calling reference is provided, this will implicitly be called on the player.

See Also