There's some neat effects in the toolset but firing them in loops is not easily possible. (at least not that I am aware of)
I have been playing around with the EffectNWN2SpecialEffectFile method.
Assembling a script and tying it to a placeables hearbeat method will work.
But:
- if you test from the toolset when your mod is in a directory it will NOT work! You must save your mod as a .mod not as directory. (this took me a couple of hours to find out

- the placeable must have static switch of and useable switched on. Otherwise heartbeat method will not be called (wasnt aware of that)
but if you do it like follows:
Code: Select all
void main ()
{
object oTarget;
PrettyMessage("in lava geyser script");
oTarget = GetTarget(TARGET_OBJECT_SELF);
PrettyMessage (GetName(oTarget));
location loc = GetLocation(oTarget);
effect ef = EffectNWN2SpecialEffectFile("camb_fx_geyser_expl_fir_sm");
// following will give about 50% change for a delayed effect on the lava
int iTime = Random (12000);
if (iTime < 5500)
{
float time = IntToFloat(iTime)/1000;
DelayCommand(time, ApplyEffectToObject(DURATION_TYPE_INSTANT, ef, oTarget));
}
}
anyone else any other suggestions?