FL Enumerations

From Garry's Mod
Jump to: navigation, search

Enumerations used by Entity:AddFlags, Entity:RemoveFlags and Entity:IsFlagSet.

Warning! Decimal values are for reference only! The actual value may be different between two Garry's Mod versions.
Name Decimal Description
FL_ONGROUND 1 Is the entity on ground or not
FL_DUCKING 2 Is player ducking or not
FL_ANIMDUCKING 4 Is the player in the process of ducking or standing up
FL_WATERJUMP 8 The player is jumping out of water
FL_ONTRAIN 16 This player is controlling a func_train
FL_INRAIN 32 Indicates the entity is standing in rain
FL_FROZEN 64 Completely freezes the player
FL_ATCONTROLS 128 This player is controlling something UI related in the world, this prevents his movement, but doesn't freeze mouse movement, jumping, etc.
FL_CLIENT 256 Is this entity a player or not
FL_FAKECLIENT 512 Bots have this flag
FL_INWATER 1024 Is the player in water or not
FL_FLY 2048 This entity can fly
FL_SWIM 4096 This entity can swim
FL_CONVEYOR 8192 This entity is a func_conveyor
FL_NPC 16384 NPCs have this flag (NPC: Ignore player push)
FL_GODMODE 32768 Whether the player has god mode enabled
FL_NOTARGET 65536 Makes the entity invisible to AI
FL_AIMTARGET 131072 This entity can be aimed at
FL_PARTIALGROUND 262144 Not all corners are valid
FL_STATICPROP 524288 It's a static prop
FL_GRAPHED 1048576 worldgraph has this ent listed as something that blocks a connection
FL_GRENADE 2097152 This entity is a grenade, unused
FL_STEPMOVEMENT 4194304 Changes the SV_Movestep() behavior to not do any processing
FL_DONTTOUCH 8388608 Doesn't generate touch functions, calls ENTITY:EndTouch when this flag gets set during a touch callback
FL_BASEVELOCITY 16777216 Base velocity has been applied this frame (used to convert base velocity into momentum)
FL_WORLDBRUSH 33554432 This entity is a brush and part of the world
FL_OBJECT 67108864 This entity can be seen by NPCs
FL_KILLME 134217728 This entity is about to get removed
FL_ONFIRE 268435456 This entity is on fire
FL_DISSOLVING 536870912 The entity is currently dissolving
FL_TRANSRAGDOLL 1073741824 This entity is about to become a ragdoll
FL_UNBLOCKABLE_BY_PLAYER -2147483648 This moving door can't be blocked by the player
Personal tools