entityguide‎ > ‎

button_target

A brush entity, which, in its essence, acts like a func_button, except that it has been designed specifically for triggering only when damaged unless set up otherwise. The damage it receives does not matter. Entity sends 'On' and 'Off' outputs alternately.

Keyvalues


"
Use Type",
 use_type :
Set the use-type with which the button will fire its targets. Default is 'Toggle'.


Flags


1
: "Use activates": If set, the button_target can also be activated by a player using it. This is enabled by default!

2: "Start on": If set, the button_target will send first output as 'Off', the second activation will be 'On' and next one 'Off' again e.t.c. Leave it empty to make first signal send on activation as 'On', second one 'Off' e.t.c.


Changes
  • 5.11: Added 'Use Type' keyvalue.


Comments