Revision Difference
Enums/MASK#514987
<cat>enum</cat>
<enumeration>
<description>Enumerations used as trace masks in <page>Trace</page> and <page>HullTrace</page>. These enumerations are simply combinations of <page>CONTENTS</page>.</description>
<fields>{{EnumField|MASK_ALL|4294967295|Anything that is not empty space</fields>
</enumeration>
{{EnumField|MASK_BLOCKLOS|16449|Anything that blocks line of sight for AI}}
{{EnumField|MASK_BLOCKLOS_AND_NPCS|33570881|Anything that blocks line of sight for AI or NPCs}}
{{EnumField|MASK_CURRENT|16515072|Water that is moving (may not work)}}
{{EnumField|MASK_DEADSOLID|65547|Anything that blocks corpse movement}}
{{EnumField|MASK_NPCSOLID|33701899|Anything that blocks NPC movement}}
{{EnumField|MASK_NPCSOLID_BRUSHONLY|147467|Anything that blocks NPC movement, except other NPCs}}
{{EnumField|MASK_NPCWORLDSTATIC|131083|The world entity}}
{{EnumField|MASK_OPAQUE|16513|Anything that blocks lighting}}
{{EnumField|MASK_OPAQUE_AND_NPCS|33570945|Anything that blocks lighting, including NPCs}}
{{EnumField|MASK_PLAYERSOLID|33636363|Anything that blocks player movement}}
{{EnumField|MASK_PLAYERSOLID_BRUSHONLY|81931|World + Brushes + Player Clips}}
{{EnumField|MASK_SHOT|1174421507|Anything that stops a bullet (including hitboxes)}}
{{EnumField|MASK_SHOT_HULL|100679691|Anything that stops a bullet (excluding hitboxes)}}
{{EnumField|MASK_SHOT_PORTAL|33570819|Solids except for grates}}
{{EnumField|MASK_SOLID|33570827|Anything that is (normally) solid}}
{{EnumField|MASK_SOLID_BRUSHONLY|16395|World + Brushes}}
{{EnumField|MASK_SPLITAREAPORTAL|48|Things that split area portals}}
{{EnumField|MASK_VISIBLE|24705|Anything that blocks line of sight for players}}
{{EnumField|MASK_VISIBLE_AND_NPCS|33579137|Anything that blocks line of sight for players, including NPCs}}
{{EnumField|MASK_WATER|16432|Anything that has water-like physics}}
}}