How to disable entities on round start?

Discussion in 'Mapping Questions & Discussion' started by Avaray, Jan 11, 2014.

  1. Avaray

    Avaray L2: Junior Member

    Messages:
    73
    Positive Ratings:
    3
    I have two entities (game_text) that I want to disable/kill on round start.
    These are enabled by default.

    I tried with logic_auto to kill them OnMultiNewRound but it doesnt work.
    It seems OnMultiNewRound is not working in TF2 (OnNewGame, OnMapSpawn works - tested).

    Is any way to disable/kill that game_text entities on round start?
     
  2. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    337
    Why do you want to kill it on roundstart? that means it will never be in the game so just delete the entity? What is its purpose?
     
  3. Avaray

    Avaray L2: Junior Member

    Messages:
    73
    Positive Ratings:
    3
    That two entities are as Welcome Message - for blue and red team, separated.
    I want to have them Enabled only for "Waiting for players" time, before first round starts.
    And for Tournament mode, before match starts.
     
  4. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    337
    I see. maybe the multiNewRound dosnt work cos latly when I launch a map by myself the HUD is like in tournament mode and this changes maybe somethign with the logic_auto?
    Anyway, how about you put a trigger at spawn which kills the entity as soon the player spawn?
     
  5. Avaray

    Avaray L2: Junior Member

    Messages:
    73
    Positive Ratings:
    3
    My wisdom about VHE is poor, but "Kill" function is disabling things only for one round (in TF2).
    So Killing will not help me.

    // Like in my another forum topic, where you helped me - Im using "Kill" for disable func_brush for one round. Because "Disable" didnt work for it.
     
    Last edited: Jan 11, 2014
  6. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    You could try using a team_round_timer with a 1 second setup time that removes the game_text OnSetupFinished. The timer shouldn't elapse during waitingforplayers, so it will only come into play during the real round.
     
    • Thanks Thanks x 1
  7. Avaray

    Avaray L2: Junior Member

    Messages:
    73
    Positive Ratings:
    3
  8. Freyja

    aa Freyja ¯\_(ツ)_/¯

    Messages:
    2,879
    Positive Ratings:
    4,970
    You can have two outputs that trigger at the same time and target different entities.
     
    • Thanks Thanks x 1
  9. Avaray

    Avaray L2: Junior Member

    Messages:
    73
    Positive Ratings:
    3
    Yes, I had one bug that I missed. I found it before you posted :D