Easiest way to apply the 'vaporizeelectrocute' effect to var

Post » Wed Jan 16, 2013 2:21 am

So I have a part in this quest where the player is in a magical realm that isn't real, bla bla, it gets a bit complex.

The point is, throughout I'd love to use that dissolve/vaporize effect like when you crit with an electric spell (Or energy weaps in Fallout, etc). However, I'm terrible with these shaders and effects and whatnot. Is there an easy way I can make this happen to people? Can I call a single effect? Can I copy part of a script? I'm going to have several occasions where this occurs, mostly within scenes, but a few other areas.

I just need to know what to call, or use, or which script to copy where I need it.

Thanks for any pointers!

AJV
User avatar
gemma
 
Posts: 3441
Joined: Tue Jul 25, 2006 7:10 am

Post » Wed Jan 16, 2013 4:58 am

Well you need to figure out which EffectShader you want to use. Once that's dissed then its just a case of

myShader.Play(myActor)

If you've got a bunch of NPC's, it'll probably easier to loop through an array rather then write it all out. Depends on how many NPC's and how lazy you want to be :P

- Hypno
User avatar
Hearts
 
Posts: 3306
Joined: Sat Oct 20, 2007 1:26 am


Return to V - Skyrim