A small question about trigger_hurt

Discussion in 'Mapping Questions & Discussion' started by SeanMcPhearless, Sep 27, 2015.

  1. SeanMcPhearless

    SeanMcPhearless L2: Junior Member

    Messages:
    91
    Positive Ratings:
    51
    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!
     
  2. Izotope

    aa Izotope Never releases maps

    Messages:
    615
    Positive Ratings:
    572
    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
     
    • Thanks Thanks x 1
  3. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,033
    Positive Ratings:
    3,980
    You'd basically just have to do .5 damage every half second. I don't even know if decimals are OK in that field.
     
  4. Hyperion

    aa Hyperion L16: Grid Member

    Messages:
    810
    Positive Ratings:
    617
    Decimals does not work as Source Engine rounds up damage values. 0.5 -> 1.0