I just installed TF2Items for the next leg of my mod, but I'm not sure how to use it. My goals are thus:
- Alter weapon-switch times (177/178) when specific weapons are equipped
- Block Medic healing (236) when a weapon's out
- Check which weapon struck in a player_hurt event
Goals #1 and #2, I don't know how to tackle. When do I set these attributes? With the third goal, I simply do not know how to identify a weapon on the fly. Which function(s) do I use?
Any direction or examples are greatly appreciated. :)