Skip to content

Ghost Effect Question

ZephiriusZephirius Member Posts: 411
edited April 2022 in Builders - Scripting
I'm just trying to get a translucent effect to make a ghost NPC. I thought using one of the CESSATE constants would create a "pulsing" effect where it would slowly fade in and out. I think EffectCustsceneGhost() is just for pathfinding through objects -

this is what I have. It's currently attached to the OnSpawn handler of the Wanna-Be ghost.
    effect eCes;
    effect eCut;
    eCut = EffectCutsceneGhost();
    eCes = EffectVisualEffect(VFX_DUR_CESSATE_NEGATIVE);
    ApplyEffectToObject(DURATION_TYPE_PERMANENT, eCes, OBJECT_SELF);
    ApplyEffectToObject(DURATION_TYPE_PERMANENT, eCut, OBJECT_SELF);

Nothing happens at all, except for the fact that you can walk through him now. But, I need him to fade
in and out...?

Comments

  • ProlericProleric Member Posts: 1,283
    I use VFX_DUR_GHOSTLY_VISAGE for the visual aspect - doesn't pulse, but looks pretty good.
  • KatzerchenKatzerchen Member Posts: 61
    edited April 2022
    Maybe effect number 240, VFX_DUR_GHOSTLY_PULSE is what you want?
    Personally, I like a combination or effects 10 (VFX_DUR_ETHEREAL_VISAGE) and 513 (VFX_DUR_AURA_PULSE_BLUE_WHITE) for an "otherworldly creature that is only half here".

    Best check here yourself and experiment with what sounds like it could work for you:
    https://nwnlexicon.com/index.php/Vfx_dur
    Post edited by Katzerchen on
  • ZephiriusZephirius Member Posts: 411
    Thanks guys. I like both suggestions.
Sign In or Register to comment.