Talk:Trigger hurt: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (unprotected)
Line 1: Line 1:
{{unprotect}}
== Negative damage ==
== Negative damage ==



Revision as of 18:02, 14 September 2006

Negative damage

Trigger_hurt doesn't seem to work when a negative damage value is set. I tested this on Counter-Strike: Source. Is there any other way to heal players? --JJ45

I remember a way to do it in Goldsource was to use a func_door with a negative crush damage. But trigger_hurt essentially does work...it works the same way as an item_healthkit—ts2do 22:32, 26 Jun 2006 (PDT)

Well, the problem is that I cannot really use a moving door in a healing oasis, in a sensible way. It would have to be able to heal multiple players at once. Trigger_hurt does NOT work with negative damage, and item_healthkit doesn't seem to exist in CSS. --JJ45