Explosion range
#1

Hey guys, how can I make it like that if someone detonates a scatchel, everyone nearby will get 0 hp. This is to add realism, the scatchel doesn't really cause that much damage on players even if they're standing really close to it.
Reply
#2

Use OnPlayerTakeDamage. If the reason/weaponid is WEAPON_SATCHEL, SetPlayerHealth to 0.
Reply
#3

Oh yeah, I wasn't aware of that function thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)