Quote:
Originally Posted by boynedmaster
Is there an event for when the Engineer hits a friendly building? I want to change the amount it upgrades by (from 25).
net_showevents 2 doesn't show anything
|
If you want to change it globally just change the cvar tf_obj_upgrade_per_hit
If you want to do it per player you can use the attribute "upgrade rate decrease" with a positive value(IE 1.6 = 40 per hit, 2.0 = 50 per hit, 3.0 = 75 per hit, etc).
As far as detecting when an engineer hits a friendly building, it's possible it still fires OnTakeDamage even though the damage is 0, though that's just a guess.