If I add a simple VFX to a placeable using (for example)
effect eVFX = EffectVisualEffect(VFX_DUR_GLYPH_OF_WARDING);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eVFX, OBJECT_SELF);
my characters will see one of this effect on the placeable, but as soon as I go out of sight and come back close, nwn will create the effect another time and it will stack, and I can repeat and even the alpha layer wich should be transparent will turn into somthing very bright and colorful.
Also removing all effects using a loop will only remove the first and original visual effect all the new ones created by sight/out of sight will remain
This problem disapear if you change area and come back : only 1 visual effect as intended.
Any idea how to solve this problem?
not sure if it will help but I have tested the following VFX's
VFX_DUR_GLOBE_MINOR
VFX_DUR_GLOBE_INVULNERABILITY
VFX_DUR_GLYPH_OF_WARDING
.. same problem for all.
Modifié par Irisiri, 06 février 2012 - 10:00 .