Looking to use an effect, but don't know what number it is?
Here is a Visual Effect browser script.
Put it on a switch or something, then keep pressing it. It will show you all the
effects one by one and tell you their numbers, just remember the number of the
one you like, then go back and code it into your mod.
( you may want to adjust the fDuration to make it a little longer, it chopped
the end of some of the animations, but I thought it was a good length for
browsing.
void main()
{
int nMissEffect;
location lMe = GetLocation(OBJECT_SELF);
object oObject=GetLastUsedBy() ;
float fDuration;
int nCount = GetLocalInt(oObject, "ncount");
effect eEffect=EffectVisualEffect(nCount, nMissEffect=FALSE);
ApplyEffectAtLocation(1, eEffect, lMe, fDuration=1.0);
SetLocalInt(oObject, "ncount", nCount);
string sCount = IntToString(nCount);
SpeakString("Effect number " + sCount);
nCount=nCount+1;
}