Momentary rot button (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{tabs|momentary_rot_button|goldsrc=1|source=1|main=source}} {{This is a|name=momentary_rot_button|e2|engine=1}} It is designed to be used to control momentary_door (GoldSrc...") |
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
||
Line 1: | Line 1: | ||
{{tabs|momentary_rot_button|goldsrc=1|source=1|main=source}} | {{tabs|momentary_rot_button|goldsrc=1|source=1|main=source}} | ||
{{ | {{this is a|brush entity|name=momentary_rot_button|engine=GoldSrc}} It is designed to be used to control [[momentary_door (GoldSrc)|momentary_door]], where the player can rotate them to arbitrary positions before stopping. Or, another momentary_rot_button. The door moves relative to the position of the momentary_rot_button controlling it. i.e., if the player lets go of the button, the door begins to close. | ||
==Key Values== | ==Key Values== |
Latest revision as of 21:11, 17 May 2024
momentary_rot_button
is a brush entity available in all GoldSrc games. It is designed to be used to control momentary_door, where the player can rotate them to arbitrary positions before stopping. Or, another momentary_rot_button. The door moves relative to the position of the momentary_rot_button controlling it. i.e., if the player lets go of the button, the door begins to close.
Key Values
- Name (targetname) <string>
- The targetname that other entities refer to this entity by.
- Target (target) <targetname>
- The targetname of an entity this entity will trigger when activated.
- Pitch Yaw Roll (Y Z X) (angles) <QAngle>
- 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.
- Speed (speed) <integer>
- Speed of the button to move from its non-activated to its activated state.
- Master (master) <targetname>
- Name of a master entity. If the master hasn't been activated, this entity will not activate.
- Sounds (sounds) <choices>
# Description 0 None 1 Big zap & Warmup 2 Access Denied 3 Access Granted 4 Quick Combolock 5 Power Deadbolt 1 6 Power Deadbolt 2 7 Plunger 8 Small zap 9 Keycard Sound 21 Squeaky 22 Squeaky Pneumatic 23 Ratchet Groan 24 Clean Ratchet 25 Gas Clunk
- Distance (deg) (distance) <integer>
- Degrees the button should rotate. It will rotate away from the player if +used. Otherwise, direction is determined by if the value is negative or positive.
- Auto-return speed (returnspeed) <integer>
- _minlight (_minlight) <string>
- Minimum light level (_minlight) <normal>
|
![]()
|
Flags
- Door Hack : [1]
- Not useable : [2]
- Auto Return : [16]
- X Axis : [64]
- y Axis : [128]
- Not in Deathmatch : [2048]