Garry's Mod Wiki

Revision Difference

Enums/MASK#516054

<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>⤶ <fields>⤶ <item key="MASK_ALL" value="4294967295">Anything that is not empty space</item>⤶ <item key="MASK_BLOCKLOS" value="16449">Anything that blocks line of sight for AI</item>⤶ <item key="MASK_BLOCKLOS_AND_NPCS" value="33570881">Anything that blocks line of sight for AI or NPCs</item>⤶ <item key="MASK_CURRENT" value="16515072">Water that is moving (may not work)</item>⤶ <item key="MASK_DEADSOLID" value="65547">Anything that blocks corpse movement</item>⤶ <item key="MASK_NPCSOLID" value="33701899">Anything that blocks NPC movement</item>⤶ <item key="MASK_NPCSOLID_BRUSHONLY" value="147467">Anything that blocks NPC movement, except other NPCs</item>⤶ <item key="MASK_NPCWORLDSTATIC" value="131083">The world entity</item>⤶ <item key="MASK_OPAQUE" value="16513">Anything that blocks lighting</item>⤶ <item key="MASK_OPAQUE_AND_NPCS" value="33570945">Anything that blocks lighting, including NPCs</item>⤶ <item key="MASK_PLAYERSOLID" value="33636363">Anything that blocks player movement</item>⤶ <item key="MASK_PLAYERSOLID_BRUSHONLY" value="81931">World + Brushes + Player Clips</item>⤶ <item key="MASK_SHOT" value="1174421507">Anything that stops a bullet (including hitboxes)</item>⤶ <item key="MASK_SHOT_HULL" value="100679691">Anything that stops a bullet (excluding hitboxes)</item>⤶ <item key="MASK_SHOT_PORTAL" value="33570819">Solids except for grates</item>⤶ <item key="MASK_SOLID" value="33570827">Anything that is (normally) solid</item>⤶ <item key="MASK_SOLID_BRUSHONLY" value="16395">World + Brushes</item>⤶ <item key="MASK_SPLITAREAPORTAL" value="48">Things that split area portals</item>⤶ <item key="MASK_VISIBLE" value="24705">Anything that blocks line of sight for players</item>⤶ <item key="MASK_VISIBLE_AND_NPCS" value="33579137">Anything that blocks line of sight for players, including NPCs</item>⤶ <item key="MASK_WATER" value="16432">Anything that has water-like physics</item>⤶ </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}}⤶ }}