momentary_door

XashXT

momentary_door

Spawnflags

SF_DOOR_CONSTANT_SPEED 2 (accepts an explicitly set speed rather than the delta which depends on the distance to travel)
SF_DOOR_ONOFF_MODE 4 (formerly in Quake, “Door don't link”; makes the door respond to being activated with the + and - prefixes)

Options

movesnd Name of the door motion sound (the same field as in func_door).
speed Used in conjunction with the SF_DOOR_CONSTANT_SPEED flag.
distance The same field as in momentary_rot_button, but here map units are specified instead of degrees (by default, this is the door size minus the “lip”).