Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
func_button
From Quake Wiki
The func_button is a button that can be used to trigger events in a level and is operated by the player on touch.
Settings
In addition to the settings listed below, the func_button can be made to move up or down by setting angle to -1 (up) or -2 (down).
Keys
targetname | The name of the button. Since the button is a trigger itself, this is generally used for killing the button from another trigger. |
target | The targetname of the entity that will be triggered when the button is pressed. |
killtarget | The targetname of the entity that will be killed when the button is pressed. |
wait | Time after pressing the button for it to reset and be pushable again. Setting this to -1 will cause the button to stay pressed. |
delay | Time after pressing the button before triggering its targets. |
speed | The movement speed of the button. |
lip | An offset added to the default movement distance that allows the designer to adjust the amount the button sticks in or out after being pressed. |
health | If set to any value above 0, the button will only be activated by shooting it or hitting it with the axe. Often used for buttons that open secrets. |
message | A message to display when the button triggers. |
Spawnflags
The button supports standard spawnflags for difficulty and deathmatch presence.