Yesterday I discovered SendAppearanceEffect , thought it was super cool (still do) and started thinking of all the things I could do with it. My idea was to create invisible, untargetable NPCs to add particle effects to certain areas of certain zones.
This looks awesome, but I've encountered a problem with it that hopefully is caused by the way I scripted this. The particle effect seems to endlessly loop, spawning itself over and over and over again until my nice looking particles become a jumbled mess of lag.
Included are some pictures to show what I mean, and also the script I am using to spawn the particle effects.
Code:
sub EVENT_SPAWN
{
$npc->SendAppearanceEffect(389);
}
}