Jump to content

Shader Effect on Misc Objects


r3van

Recommended Posts

I'm currently trying a Papyrus script to see if I can apply the soul trap shader effect on a MiscObject. My source code is below:

 

 

Scriptname R3VileGemFX extends ObjectReference

 

EffectShader Property EnchPurpleFXShader Auto

 

 

Event OnLoad()

 

EnchPurpleFXShader.Play(self, -1.0)

 

EndEvent

 

Event OnUnload()

 

EnchPurpleFXShader.Stop(self)

 

EndEvent

 

 

Though in-game, the shader still does not appear on the object when the mesh is loaded (which is what OnLoad() is supposed to do).

Link to comment
Share on other sites

  • 4 weeks later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...