View Single Post
Author Message
Alfonso Crawford
Member
Join Date: Feb 2012
Old 07-03-2012 , 11:30   [TF2] Setting General Properties and Checking Weapon On-Hit
Reply With Quote #1

I just installed TF2Items for the next leg of my mod, but I'm not sure how to use it. My goals are thus:
  1. Alter weapon-switch times (177/178) when specific weapons are equipped
  2. Block Medic healing (236) when a weapon's out
  3. 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. :)

Last edited by Alfonso Crawford; 07-03-2012 at 15:12. Reason: set to solved
Alfonso Crawford is offline