Func door: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Well durrr if the door is open of course the fullyclosed output wont work. lol)
(Added note to Flags (better this way?))
Line 19: Line 19:
==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)}}


==Inputs==
==Inputs==

Revision as of 00:58, 8 August 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