Caution:

Button is an internal entity and should not be used on its own.

BASE Button

KeyValues

Press Sound <choices> = None (Silent) (0)

Sound played when pressed. Choose from sounds in the Buttons.snd* category.

Possible Values:

NameValue
None (Silent)0
Light Switch100
Power Plug - Basic Electronics (soft)101
Buttons.snd1: Big zap & Warmup1
Buttons.snd2: Access Denied2
Buttons.snd3: Access Granted3
Buttons.snd4: Quick Combolock4
Buttons.snd5: Power Deadbolt 15
Buttons.snd6: Power Deadbolt 26
Buttons.snd7: Plunger7
Buttons.snd8: Small zap8
Buttons.snd9: Keycard Sound9
Buttons.snd10: Buzz10
Buttons.snd11: Buzz Off11
Buttons.snd12: Latch locked12
Buttons.snd13: Latch Unlocked13
Buttons.snd14: Lightswitch14
Buttons.snd15: Small bleek15
Buttons.snd16: Small deny16
Buttons.snd17: Small doop17
Buttons.snd18: Small tech deny18
Buttons.snd19: Click and combine screen fuzz19
Buttons.snd20: Roomy beep20
Buttons.snd21: Lever or Wheel: turn + move sqeek21
Buttons.snd22: Lever or Wheel: latch + release gas22
Buttons.snd23: Lever or Wheel: ratchet + sqeek23
Buttons.snd24: Lever or Wheel: large ratchet24
Buttons.snd25: Lever or Wheel: clanky + gas release25
Buttons.snd26: Lever or Wheel: latch + large metal thud26
Buttons.snd27: Lever or Wheel: smaller ratchet27
Buttons.snd28: Lever or Wheel: smaller lever move28
Buttons.snd31: Shock buzz (missing)31
Buttons.snd32: Clickbeep (missing)32
Buttons.snd33: Tech blip (missing)33
Buttons.snd34: Clickbeepbeep open34
Buttons.snd35: Small high blip35
Buttons.snd36: Small tech fuzz blip36
Buttons.snd37: Small click bleep (change to lightswitch)37
Buttons.snd40: Combine door lock - locked40
Buttons.snd41: Combine blip growl41
Buttons.snd42: Combine squick growl42
Buttons.snd43: Combine whine purr43
Buttons.snd44: Combine click talk44
Buttons.snd45: Combine click growl fizz45
Buttons.snd46: Combine click fizz (deny)46
Buttons.snd47: Combine click talker47

Locked Sound <choices> = None (Silent) (0)

Sound played when the player tries to use the button, and fails because it's locked. These are sounds in the Buttons.snd* category.

Possible Values:

NameValue
None (Silent)0
Light Switch100
Power Plug - Basic Electronics (soft)101
Buttons.snd1: Big zap & Warmup1
Buttons.snd2: Access Denied2
Buttons.snd3: Access Granted3
Buttons.snd4: Quick Combolock4
Buttons.snd5: Power Deadbolt 15
Buttons.snd6: Power Deadbolt 26
Buttons.snd7: Plunger7
Buttons.snd8: Small zap8
Buttons.snd9: Keycard Sound9
Buttons.snd10: Buzz10
Buttons.snd11: Buzz Off11
Buttons.snd12: Latch locked12
Buttons.snd13: Latch Unlocked13
Buttons.snd14: Lightswitch14
Buttons.snd15: Small bleek15
Buttons.snd16: Small deny16
Buttons.snd17: Small doop17
Buttons.snd18: Small tech deny18
Buttons.snd19: Click and combine screen fuzz19
Buttons.snd20: Roomy beep20
Buttons.snd21: Lever or Wheel: turn + move sqeek21
Buttons.snd22: Lever or Wheel: latch + release gas22
Buttons.snd23: Lever or Wheel: ratchet + sqeek23
Buttons.snd24: Lever or Wheel: large ratchet24
Buttons.snd25: Lever or Wheel: clanky + gas release25
Buttons.snd26: Lever or Wheel: latch + large metal thud26
Buttons.snd27: Lever or Wheel: smaller ratchet27
Buttons.snd28: Lever or Wheel: smaller lever move28
Buttons.snd31: Shock buzz (missing)31
Buttons.snd32: Clickbeep (missing)32
Buttons.snd33: Tech blip (missing)33
Buttons.snd34: Clickbeepbeep open34
Buttons.snd35: Small high blip35
Buttons.snd36: Small tech fuzz blip36
Buttons.snd37: Small click bleep (change to lightswitch)37
Buttons.snd40: Combine door lock - locked40
Buttons.snd41: Combine blip growl41
Buttons.snd42: Combine squick growl42
Buttons.snd43: Combine whine purr43
Buttons.snd44: Combine click talk44
Buttons.snd45: Combine click growl fizz45
Buttons.snd46: Combine click fizz (deny)46
Buttons.snd47: Combine click talker47

Unlocked Sound <choices> = None (Silent) (0)

Sound played when the button is unlocked. These are sounds in the Buttons.snd* category.

Possible Values:

NameValue
None (Silent)0
Light Switch100
Power Plug - Basic Electronics (soft)101
Buttons.snd1: Big zap & Warmup1
Buttons.snd2: Access Denied2
Buttons.snd3: Access Granted3
Buttons.snd4: Quick Combolock4
Buttons.snd5: Power Deadbolt 15
Buttons.snd6: Power Deadbolt 26
Buttons.snd7: Plunger7
Buttons.snd8: Small zap8
Buttons.snd9: Keycard Sound9
Buttons.snd10: Buzz10
Buttons.snd11: Buzz Off11
Buttons.snd12: Latch locked12
Buttons.snd13: Latch Unlocked13
Buttons.snd14: Lightswitch14
Buttons.snd15: Small bleek15
Buttons.snd16: Small deny16
Buttons.snd17: Small doop17
Buttons.snd18: Small tech deny18
Buttons.snd19: Click and combine screen fuzz19
Buttons.snd20: Roomy beep20
Buttons.snd21: Lever or Wheel: turn + move sqeek21
Buttons.snd22: Lever or Wheel: latch + release gas22
Buttons.snd23: Lever or Wheel: ratchet + sqeek23
Buttons.snd24: Lever or Wheel: large ratchet24
Buttons.snd25: Lever or Wheel: clanky + gas release25
Buttons.snd26: Lever or Wheel: latch + large metal thud26
Buttons.snd27: Lever or Wheel: smaller ratchet27
Buttons.snd28: Lever or Wheel: smaller lever move28
Buttons.snd31: Shock buzz (missing)31
Buttons.snd32: Clickbeep (missing)32
Buttons.snd33: Tech blip (missing)33
Buttons.snd34: Clickbeepbeep open34
Buttons.snd35: Small high blip35
Buttons.snd36: Small tech fuzz blip36
Buttons.snd37: Small click bleep (change to lightswitch)37
Buttons.snd40: Combine door lock - locked40
Buttons.snd41: Combine blip growl41
Buttons.snd42: Combine squick growl42
Buttons.snd43: Combine whine purr43
Buttons.snd44: Combine click talk44
Buttons.snd45: Combine click growl fizz45
Buttons.snd46: Combine click fizz (deny)46
Buttons.snd47: Combine click talker47

Locked Sentence <choices> = None (0)

A sentence played when the player tries to use the button, and fails because it's locked.

Possible Values:

NameValue
None0
[NA] Gen. Access Denied1
[ND] Security Lockout2
[NF] Blast Door3
[NFIRE] Fire Door4
[NCHEM] Chemical Door5
[NRAD] Radiation Door6
[NCON] Gen. Containment7
[NH] Maintenance Door8
[NG] Broken Shut Door9

Unlocked Sentence <choices> = None (0)

A sentence played when the button is unlocked.

Possible Values:

NameValue
None0
[EA] Gen. Access Granted1
[ED] Security Disengaged2
[EF] Blast Door3
[EFIRE] Fire Door4
[ECHEM] Chemical Door5
[ERAD] Radiation Door6
[ECON] gen. Containment7
[EH] Maintenance area8

Inherited from Angles

Pitch Yaw Roll (Y Z X) <angle> = 0 0 0

This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

Inputs

Lock <void>

Lock the button, preventing it from functioning.

Unlock <void>

Unlock the button, allowing it to function.

Press <void>

Activate the button as if it was pressed.

PressIn <void>

Activate the button as if it was pressed, sending it to the bottom position.

PressOut <void>

Unpress the button, sending it to the top position.

Outputs

OnDamaged <void>

Fired when the button is damaged.

OnPressed <void>

Fired when the button is pressed.

OnUseLocked <void>

Fired when the button is used while locked.

OnIn <void>

Fired when the button reaches the in/pressed position.

OnOut <void>

Fired when the button reaches the out/released position.