Thread: TF2 Stocks
View Single Post
ntp
Member
Join Date: May 2012
Old 08-23-2012 , 02:52   Re: TF2 Stocks
Reply With Quote #8

im trying to grab the stock health of the class that you were killed by.

lets say a soldier kills you, a soldier is 200hp stock. i want to grab that 200hp value and use it to determine if the class was low hp when he killed you.

essentially something like

if(attacker_class_stock-hp/5) >= attacker_current-hp
ntp is offline