button_target
Jump to navigation
Jump to search
button_target | |
---|---|
Type |
brush |
Status |
supported |
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.
1 Keyvalues
Use Type : use_type
Set the use-type with which the button will fire its targets. Default is 'Toggle'.
2 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 etc. Leave it empty to make first signal send on activation as 'On', second one 'Off' etc.
3 Changes
- 5.11: Added 'Use Type' keyvalue.