Garry's Mod Wiki

Revision Difference

Enums/CAP#514560

<cat>enum</cat>⤶ <enumeration>⤶ <description>Enumerations used by <page>NPC:CapabilitiesAdd</page>, <page>WEAPON:GetCapabilities</page> and <page>NPC:CapabilitiesGet</page>. Serverside only.</description>⤶ <fields>{{EnumField|CAP_SIMPLE_RADIUS_DAMAGE|-2147483648|When hit by an explosion, we'll simply block it instead of spilling it to entities behind us, the sv_robust_explosions cvar can also enable this globally when set to 0</fields>⤶ ⤶ </enumeration>⤶ ⤶ ⤶ {{EnumField|CAP_MOVE_GROUND|1|Walk/Run}}⤶ {{EnumField|CAP_MOVE_JUMP|2|Jump/Leap}}⤶ {{EnumField|CAP_MOVE_FLY|4|Can fly move all around}}⤶ {{EnumField|CAP_MOVE_CLIMB|8|climb ladders}}⤶ {{EnumField|CAP_MOVE_SWIM|16}}⤶ {{EnumField|CAP_MOVE_CRAWL|32}}⤶ {{EnumField|CAP_MOVE_SHOOT|64|Tries to shoot weapon while moving}}⤶ {{EnumField|CAP_SKIP_NAV_GROUND_CHECK|128}}⤶ {{EnumField|CAP_USE|256|Open doors/push buttons/pull levers}}⤶ {{EnumField|CAP_AUTO_DOORS|1024|Can trigger auto doors}}⤶ {{EnumField|CAP_OPEN_DOORS|2048|Can open manual doors}}⤶ {{EnumField|CAP_TURN_HEAD|4096|Can turn head always bone controller 0}}⤶ {{EnumField|CAP_WEAPON_RANGE_ATTACK1|8192}}⤶ {{EnumField|CAP_WEAPON_RANGE_ATTACK2|16384}}⤶ {{EnumField|CAP_WEAPON_MELEE_ATTACK1|32768}}⤶ {{EnumField|CAP_WEAPON_MELEE_ATTACK2|65536}}⤶ {{EnumField|CAP_INNATE_RANGE_ATTACK1|131072}}⤶ {{EnumField|CAP_INNATE_RANGE_ATTACK2|262144}}⤶ {{EnumField|CAP_INNATE_MELEE_ATTACK1|524288}}⤶ {{EnumField|CAP_INNATE_MELEE_ATTACK2|1048576}}⤶ {{EnumField|CAP_USE_WEAPONS|2097152}}⤶ {{EnumField|CAP_USE_SHOT_REGULATOR|16777216}}⤶ {{EnumField|CAP_ANIMATEDFACE|8388608|Has animated eyes/face}}⤶ {{EnumField|CAP_FRIENDLY_DMG_IMMUNE|33554432|Don't take damage from npc's that are D_LI}}⤶ {{EnumField|CAP_SQUAD|67108864|Can form squads}}⤶ {{EnumField|CAP_DUCK|134217728|Cover and Reload ducking}}⤶ {{EnumField|CAP_NO_HIT_PLAYER|268435456|Don't hit players}}⤶ {{EnumField|CAP_AIM_GUN|536870912|Use arms to aim gun, not just body}}⤶ {{EnumField|CAP_NO_HIT_SQUADMATES|1073741824}}⤶ }}