So i wanna take my explosives and make it so when they explode, it plays a 2D sound that the whole server hears. i have the script that will randomize the explosion sound how i want it serverPlay2D(Explosion @ getRandom(1,10),%obj.getPosition());
But i simply dont know where to put it, becuase there is no function for when the explosive, blows up. whats the best thing to do? Make a function? function M67Image::onExplode(%this,%obj,%slot)
? Or is there actually a place i can implement this in? Let me know as soon as possible on what you guys think should happen.