Button to turn on light

Discussion in 'Mapping Questions & Discussion' started by nickbugun, Jul 9, 2009.

  1. nickbugun

    nickbugun L1: Registered

    Messages:
    26
    Positive Ratings:
    0
    How do I make a button to turn on a light?
     
  2. TMP

    aa TMP Abuser of Site Rules

    Messages:
    948
    Positive Ratings:
    551
    Tie a func_button onto a named light with a turnon output. Make sure the light is not on originally though.

    EDIT: when I think about that, though, it does rely on +use, so if you want it shoot-activated, you have to make it tie to a func_breakable with a health of like 1000000 or so with an onhealthchanged output to turnon the named light.
     
  3. pisaman2

    pisaman2 L1: Registered

    Messages:
    34
    Positive Ratings:
    1
    I think you could place a trigger_player_proximity around a button model/brush with an output with onStartTouch (or something like that) for activation

    EDIT: Not sure if trigger_player_proximity is the correct name. Look for something similar to that. Defiantly a trigger though