Func door: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (categorise - brushmodel entities)
Line 4: Line 4:
== Entity description ==
== Entity description ==
A brush entity that will move like a sliding door.  
A brush entity that will move like a sliding door.  
 
{{brushmodel}}
For a door that pivots or rotates, use [[prop_door_rotating]] or [[func_door_rotating]] instead.
For a door that pivots or rotates, use [[prop_door_rotating]] or [[func_door_rotating]] instead.



Revision as of 17:02, 10 May 2008

Template:Wrongtitle Template:Base brush

Entity description

A brush entity that will move like a sliding door. Template:Brushmodel 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