Hammer Editor to trigger cvar?

Discussion in 'Mapping Questions & Discussion' started by Ugleh, Sep 22, 2010.

  1. Ugleh

    Ugleh L1: Registered

    Messages:
    33
    Positive Ratings:
    2
    Is this possible? A Trigger that will call out a cvar?
     
  2. nik

    nik L12: Fabulous Member

    Messages:
    987
    Positive Ratings:
    246
    I think point_servercommand is what you're looking for. Beware though, you can't upload a map with this entity in use to gamedays..

    why do you need it anyways?
     
  3. Ugleh

    Ugleh L1: Registered

    Messages:
    33
    Positive Ratings:
    2
    to call a sm_cvar when someone walks threw a passage.
     
  4. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    I think he assumed that much.
     
  5. megawac

    megawac L4: Comfortable Member

    Messages:
    180
    Positive Ratings:
    29
    You dont need to call an sm_cvar as it is quite similar to rcon, and it makes you assume the server has source mod. All you have to do is enter a Command <string> eg from a trigger_once OnStartTouch - Command - Command - mp_timelimit 25 which will change the servers map time.

    Warning people (the ones that upload your map) usually dont like when you mess with their server through your map.
     
  6. Ugleh

    Ugleh L1: Registered

    Messages:
    33
    Positive Ratings:
    2
    Am I supposed to put that in output tab or input tab?