Vfx aura - not working? Bug?


#1

So I’m trying to get the Vfx aura to work on a player. The other vfx’s work, but when I change it to say “VFX_DUR_AURA_WHITE” it doesn’t work.

Can anyone get VFX_DUR_AURA_WHITE (or any other color) to work? Or is there a bug?


#2

I have used the auras in the past. I’m not sure if I used that particular one, I think I mostly used the VFX_DUR_AURA_PULSE_**** ones. Be sure to apply them with a temporary or permanent duration, e.g.:
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_DUR_AURA_WHITE), oTarget, 12.0f);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectVisualEffect(VFX_DUR_AURA_WHITE), oTarget);
IIRC, they are subtle effects, so you might have to look carefully for them.


#3

You’re right, should’ve went with DURATION_TYPE_TEMPORARY, I had DURATION_TYPE_INSTANT instead. Makes perfect sense :slight_smile:

Thank you!


#4

No problem,

For future reference:
VFX_COM_, VFX_IMP_ and VFX_FNF_ all use instant durations.
VFX_EYES_ and VFX_DUR_ use temporary and permanent durations.
VFX_BEAM_ effects use the EffectBeam function instead of the EffectVisualEffect function and also use temporary and permanent durations.