Difference between revisions of "Button target"

From Sven Co-op
Jump to navigation Jump to search
(Import of converted entguide pages from Sven Manor.)
(No difference)

Revision as of 23:29, 27 January 2019

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 e.t.c. Leave it empty to make first signal send on activation as 'On', second one 'Off' e.t.c.

3 Changes

5.11: Added 'Use Type' keyvalue.