View Single Post
psychonic

BAFFLED
Join Date: May 2008
Old 02-05-2015 , 21:15   Re: SourceMod 1.7 released!
#22

Quote:
Originally Posted by Black-Rabbit View Post
So is that new hook be able to check only if the unit is alive and will I be able to check if unit health is zero with triggering after he die?
Idk. Try it out! There is a m_lifeState(? maybe not exact name) datadesc var on all cbasecombatcharacters (I think, maybe just players or maybe all ents) which can probably tell you if the hero ent is alive anyway.
psychonic is offline