A small question about trigger_hurt

Exelaratore

L2: Junior Member
Mar 18, 2013
91
56
I'd like to have 2 damage done per 2 seconds, but I can't find a way to change the time the damage is dealt. it's always half-second increments. Anyone know of a solution? Thanks!
 

Izotope

Sourcerer
aa
May 13, 2013
698
764
May not be the best way to do it, but you can have a logic_timer enable/disable it every 2 seconds.
OnTimer | trigger_hurt | Enable | 0.00
OnTimer | trigger_hurt | Disable | 0.10
 

tyler

aa
Sep 11, 2013
5,102
4,621
You'd basically just have to do .5 damage every half second. I don't even know if decimals are OK in that field.
 

Hyperion

L16: Grid Member
aa
Jun 8, 2015
840
659
You'd basically just have to do .5 damage every half second. I don't even know if decimals are OK in that field.
Decimals does not work as Source Engine rounds up damage values. 0.5 -> 1.0