Func door: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=func_door}}
{{wrongtitle|title=func_door}}


==Entity Description==
== Entity description ==
A brush entity that will move like a sliding door.  
A brush entity that will move like a sliding door.  


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.


==Keyvalues==
== Keyvalues ==
* {{kv door}}
* {{kv door}}
* {{kv origin}}
* {{kv origin}}
Line 17: Line 17:
: <filterclass> Filter to use to determine entities that block the door. ( Half-Life: Source port only )
: <filterclass> Filter to use to determine entities that block the door. ( Half-Life: Source port only )


==Flags==
== Flags ==
* {{fl door}}
* {{fl door}}
{{note|setting the ''Starts Open'' flag will cause some Outputs to not work properly (''OnFullyClosed''  isn't called when the door closes, for example.)}}
{{note|setting the ''Starts Open'' flag will cause some Outputs to not work properly (''OnFullyClosed''  isn't called when the door closes, for example.)}}


==Inputs==
== Inputs ==
* {{i door}}
* {{i door}}


==Outputs==
== Outputs ==
* {{o targetname}}
* {{o targetname}}
* {{o door}}
* {{o door}}


==See Also==
== See also ==
* [[func_lookdoor]]
* [[func_lookdoor]]
* [[func_door_rotating]]
* [[func_door_rotating]]
Line 34: Line 34:
* [[Two-stop elevators]]
* [[Two-stop elevators]]


[[Category:Entities]][[Category:Brush Entities]]
[[Category:Entities]]
[[Category:Brush Entities]]

Revision as of 09:38, 21 October 2007

Template:Wrongtitle

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

See also