1 points - posted 2579 days ago by psyfer - status: Active - 0 comments watch embed this
Tags: damage es_damage weapon
Right now when intercepting the hit from esdamage the weapon type is pointhurt. Is there any way to add a parameter to it to include what weapon did the damage?

I was reading about creating events on the developer.valvesoftware.com wiki and you can set the userid and attacker's id before firing the event but I'm not sure if there's any way to set the event_var(weapon) as well. Even if you had to look up in a table of the corresponding integer for the weapon you want, that wouldn't be a big deal.

I don't know if this is the only or the best way, but it's just what i found when doing some research on my own.

Sorry if this is not possible.

Thank you,