GetPlayingEffectShaders

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin version 4.40.

Description

Returns array of Effect Shaders currently playing on a reference.

Syntax

[help]
(array) refr.GetPlayingEffectShaders

Example

array_var aShaders = myRef.GetPlayingEffectShaders 

Notes

  • When using PlayMagicShaderVisuals multiple times on the same reference, the game does not actually stop previous instances even though only the last one is visible, which will cause this function to return multiple playing shaders. To avoid that, use StopMagicShaderVisuals before playing another shader on the same reference.