Func brush: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 41: Line 41:
* {{i shadow}}
* {{i shadow}}
* {{i enabledisable}}
* {{i enabledisable}}
* '''{{ep2 add|SetExcluded <target_destination>}}'''
: Set excludednpc
* '''{{ep2 add|SetInvert <integer>}}'''
: Set invert_exclusion


==Outputs==
==Outputs==

Revision as of 22:08, 8 October 2007

Template:Wrongtitle

Entity Description

A brush built entity with various features. Has replaced the obsolete func_wall, func_illusionary and func_wall_toggle entities by adding more functionality.

Keyvalues

<float> The minimum level of ambient light that hits this brush.
  • Solidity
<choices> Used to control the solidity/collision of these brushes.
Literal Value Description
0 Toggle
1 Never Solid
2 Always Solid
  • solidbsp
<boolean> Set this if this brush is in heirarchy with a moving object of some kind, and the player can stand on this brush.
  • excludednpc
<target_destination> If an NPC classname (i.e. npc_zombie) is specified here, NPCs of that type won't collide with these brushes.
<boolean> If set, then the excluded NPC class will consider this brush solid, and all other NPC classes will consider it non-solid.

Flags

  • 2 : Ignore player +USE

Inputs

Set excludednpc
Set invert_exclusion

Outputs