Author Topic: How to add radius damage through a function  (Read 1420 times)

So whats going on is that i have some explosives that have radius damage, i made a function OnProjectileExplode that randomly plays a distant explosion to the server. However this screws up the radius damage, damage radius, Impulse radius, and impulse force in the Explosion data making the explosive useless. How would i be able to add the explosive's radius damage, damage radius and impulse radius/force into the function OnProjectileExplode? Because i believe this would solve the problem.

Properly parent the function as well as not leave out any of the variables?

If you already did that, then do a radius search around the explosion, then add the damage to the players within reach.