Flashing light with logic_timer

Discussion in 'Mapping Questions & Discussion' started by bamibal, Aug 25, 2015.

  1. bamibal

    bamibal L1: Registered

    Messages:
    47
    Positive Ratings:
    5
    Trying to create a simple flashing light with 1 second interval, but I think I'm going nuts here. These are my settings:

    [​IMG]

    [​IMG]

    And the light is set to 'initially dark'. As far as my brain (or what's left of it) can comprehend: at 0.00 the light + sprite are off, at 1.00 the light + sprite are on, at 2.00 the timer resets. It doesn't work though, they go on and off at weird times.
     
  2. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,742
    What's actually not happening here that you are expecting to happen? (You neglected to say)

    I suspect, instead of using a timer, you want to investigate the custom appearance of the light: https://developer.valvesoftware.com/wiki/Light
    Though that might mess with the sprite's timings. Not sure, never really used dynamic lights.


    EDIT (seems obvious, your light is called licht, is that correct?)
     
  3. bamibal

    bamibal L1: Registered

    Messages:
    47
    Positive Ratings:
    5
    Yep, licht is Dutch for light. I found out what the problem is though, I actually had the custom appearance of the light still set to 'slow strobe'. That obviously caused the logic_timer to act weird.

    Excuse me for being a dummie:O