momentary_rot_button (momentary_rot_door)
Option
m_flStartPos | Sets the initial state of the button. Ranges from 0 (default) to 1. |
Usage Details
- Unlike the original Half-Life, momentary_rot_button lets you change the output value smoothly within the range from 0 to 1 not only for momentary_ objects, but also for any others that may benefit from such a change—for example, func_rotating or func_conveyor.
- The object responds to the > prefix accompanied by a dot-preceded value in the range from 0 to 1. This lets you instantly set the rotation angle you need when a specific event occurs.
- When the < prefix is accompanied by a dot-preceded value in the range from 0 to 1, the entity sets the requested angle at the speed that is specified in the button settings, rather than instantly.