Looping

Discussion in 'Mapping Questions & Discussion' started by Freedomario, Sep 12, 2009.

  1. Freedomario

    Freedomario L1: Registered

    Messages:
    8
    Positive Ratings:
    0
    Is there a way/entity to make up to 10 things happen, and then have it loop itto do them over again?

    Im trying to make disco lights that 1 light is on then after 1.5 seconds it turns off and then a different light comes on, and ect. And when it’s done, it loops and does it over again!

    I tried having 10 entities that when fired (with a 1.5 delay) then fires another entity which then fires yet another entity and loops, but that lagged the map.

    If you can, tell me what I did wrong and/or how I can fix it.

    Thanks in advance.
     
    Last edited: Sep 12, 2009
  2. Artesia

    Artesia L6: Sharp Member

    Messages:
    278
    Positive Ratings:
    72
    I'm pretty sure what is lagging the map, isn't how you're firing the lights, but the fact that you have so many dynamic lights changing states. Your lighting has to be calculated for every lighting possibility, and then change between them, changing between so many will cause lag.
     
  3. Freedomario

    Freedomario L1: Registered

    Messages:
    8
    Positive Ratings:
    0
    Thanks! its lot lagging now! :)