EffectDisappear() NWScript command creates an effect that causes the creature to which it is applied perform some sort of animation then destroy itself (similar to
DestroyObject()). This effect should be applied instantly (not temporarily or permanently). The most common animation caused by this effect is the "fly away" animation, but this does vary and depends on the creature's appearance.
This effect will have no result if its target is not commandable. It should never be applied to player characters as they cannot be destroyed;
EffectDisappearAppear() is likely more appropriate for them.
effect EffectDisappear (int nAnimation=1
- The exit animation to use.
Most creatures only support exit animation 1, but a few (such as beholders) support both 1 and 2.