momentary_rot_button
Jump to navigation
Jump to search
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
Targetname:
- Name (targetname) <string>
- The targetname that other entities refer to this entity by.
Target:
- Target (target) <targetname>
- The targetname of an entity this entity will trigger when activated.
- Pitch Yaw Roll (Y Z X) (angles) <angle>
- 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.
- 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>
|
Note:If any of the booleans are set in worldspawn, they can be disabled per entity by being set to -1.
|
Flags
Door Hack : [1]
Not useable : [2]
Auto Return : [16]
X Axis : [64]
y Axis : [128]
Not in Deathmatch : [2048]