Func door: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 8: Line 8:


For having a prop based sliding door, make a [[prop_dynamic]] from the desired model and make its parent a little nodrawed [[func_door]] with a big negative lip.
For having a prop based sliding door, make a [[prop_dynamic]] from the desired model and make its parent a little nodrawed [[func_door]] with a big negative lip.
* See also [[func_lookdoor]], [[func_door_rotating]] and [[prop_door_rotating]].
* See also [[Two-stop elevators]].


== Keyvalues ==
== Keyvalues ==
Line 28: Line 31:
* {{o targetname}}
* {{o targetname}}
* {{o door}}
* {{o door}}
== See also ==
* [[func_lookdoor]]
* [[func_door_rotating]]
* [[prop_door_rotating]]
* [[Two-stop elevators]]

Revision as of 11:32, 12 April 2008

Template:Wrongtitle Template:Base brush

Entity description

A brush entity that will move like a sliding door.

For a door that pivots or rotates, use prop_door_rotating or func_door_rotating instead.

For having a prop based sliding door, make a prop_dynamic from the desired model and make its parent a little nodrawed func_door with a big negative lip.

Keyvalues

<angle> The direction the door will move, when it opens.
  • filtername
<filterclass> Filter to use to determine entities that block the door. ( Half-Life: Source port only )

Flags

Note.pngNote:setting the Starts Open flag will cause some Outputs to not work properly (OnFullyClosed isn't called when the door closes, for example.)

Inputs

Outputs