EFL Enumerations

From Garry's Mod
Jump to: navigation, search

Enumerations used by Entity:AddEFlags, Entity:RemoveEFlags and Entity:IsEFlagSet.

Warning! Decimal values are for reference only! The actual value may be different between two Garry's Mod versions.
Name Decimal Description
EFL_BOT_FROZEN 256 This is set on bots that are frozen
EFL_DIRTY_ABSANGVELOCITY 8192 Some dirty bits with respect to abs computations
EFL_DIRTY_SHADOWUPDATE 32 (Client only) need shadow manager to update the shadow
EFL_DONTBLOCKLOS 33554432 Entity shouldn't block NPC line-of-sight
EFL_DONTWALKON 67108864 NPCs should not walk on this entity
EFL_DORMANT 2 Entity is dormant, no updates to client
EFL_FORCE_CHECK_TRANSMIT 128 The default behavior in ShouldTransmit is to not send an entity if it doesn't have a model. Certain entities want to be sent anyway because all the drawing logic is in the client DLL. They can set this flag and the engine will transmit them even if they don't have model
EFL_HAS_PLAYER_CHILD 16 One of the child entities is a player
EFL_IN_SKYBOX 131072 This is set if the entity detects that it's in the skybox. This forces it to pass the "in PVS" for transmission
EFL_KEEP_ON_RECREATE_ENTITIES 16 This is a special entity that should not be deleted when we restart entities only
EFL_KILLME 1 This entity is marked for death -- This allows the game to actually delete ents at a safe time.

You should never set this flag manually.

EFL_NOCLIP_ACTIVE 4 Lets us know when the noclip command is active
EFL_NOTIFY 64 Another entity is watching events on this entity (used by teleport)
EFL_NO_AUTO_EDICT_ATTACH 1024 Don't attach the edict
EFL_NO_DAMAGE_FORCES -2147483648 Doesn't accept forces from physics damage
EFL_NO_DISSOLVE 134217728 Entitiy shouldn't dissolve
EFL_NO_MEGAPHYSCANNON_RAGDOLL 268435456 Mega physcannon can't ragdoll these guys
EFL_NO_PHYSCANNON_INTERACTION 1073741824 Physcannon can't pick these up or punt them
EFL_NO_THINK_FUNCTION 4194304 Avoid executing the entity's Think
EFL_NO_WATER_VELOCITY_CHANGE 536870912 Don't adjust this entity's velocity when transitioning into water
EFL_SERVER_ONLY 512 Non-networked entity
EFL_SETTING_UP_BONES 8 Set while a model is setting up its bones
EFL_TOUCHING_FLUID 524288 Used to determine if an entity is floating
EFL_USE_PARTITION_WHEN_NOT_SOLID 262144 Entities with this flag set show up in the partition even when not solid
Personal tools