Jump to content

Trying to apply invisibility visual effect


cycle209

Recommended Posts

Hi

 

I'm trying to create a power that applies the invisibility effect to the caster, but for some reason it's not working. For reasons I won't go into, I've had to create a script that handles playing the visual and sound effects , like this:

Scriptname magicInvisibilityScript extends ActiveMagicEffect

Sound Property IntroSoundFX Auto
EffectShader Property Shader Auto
VisualEffect Property Effect Auto

ObjectReference selfRef

Event OnEffectStart(Actor Target, Actor Caster)
    selfRef = Caster

    IntroSoundFX.Play(selfRef)
    Shader.Play(selfRef, -1)
    Effect.Play(selfRef, -1)
EndEvent

The visual effect I pass in is one I've created that uses the InvisFXBody01 art object, which should make the caster appear invisible, but it doesn't get applied for some reason.

 

Any ideas what I could be missing?

 

It would also be acceptable to just set the caster's alpha value to make them appear invisible, but that's not working when I go to 1st person view. :confused:

 

Thanks

Link to comment
Share on other sites

The Alpha doesn't make the player completely invisible in 3rd person either and in fact it kind of bugs out and sticks, even after restoring the alpha.

 

Lots of people have tried this without using the invisibility archetype in a magic effect. I don't know any that has pulled it off yet.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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