func_lookdoor
Jump to navigation
Jump to search
Code classes:
CLookDoor
CFuncMoveLinear
CBaseToggle
CBaseEntity
(all ents)
func_lookdoor
is a brush entity present in the Half-Life 2 series and Alien Swarm. It's a door that moves, either when looked by a targeted object or when a target object comes near the door. Behavior can be either based on viewing direction or proximity alone, or on a combination of both.
Flags[edit | edit source]
- 8192: LookDoor Threshold To do: Description.
- 16384: LookDoor Invert - Make the door behave oppositely. Player has to be outside Proximity Distance, and not looking at the door within Field of View.
- 32768: LookDoor From Open To do: Description.
Keyvalues[edit | edit source]
- Target (Not in FGD)
(target)
<target_destination>
- Thing (probably a
player
) that we will check for LOS to the door. - Proximity Distance
(ProximityDistance)
<float>
- If non-zero, how close the target must be for the door to move.
- Proximity Offset
(ProximityOffset)
<float>
- Offset from the target object.[Clarify]
- Field of View
(FieldOfView)
<float>
- If non-zero, how far away from the door the target can look while still triggering it.
Inputs[edit | edit source]
- InvertOn
- Enabled inverted behavior.
- InvertOff
- Turn door behavior back to the normal method.