Skip to content

Sabotage buttons

Eliot Partridge edited this page Dec 4, 2020 · 2 revisions

Sabotage buttons are the buttons which allow players to fix currently active sabotages. They are similar to task buttons, but are only available while the relevant sabotage is active, and are otherwise non-interactive. In-game, they are represented by func_sabotage_button (brush entity) or prop_task_button (world model).

Keyvalues

Sabotage name (sabotagename) <string>

The internal name of the sabotage this button is associated with. See the sabotages directory for a list of default sabotages.

Area name (areaname) <string>

The internal (ie, non-localized) name of the area this button is in. Typically in the form of area.areaName. See the default language file for all included area names. See Localization for more details on localization strings.

Custom data (customdata) <string>

Any custom data the sabotage needs to know about this button. Unused by default sabotages.

Inputs

N/A

Outputs

N/A