Garry's Mod Wiki

Revision Difference

Enums/EF#516400

<cat>enum</cat> <enum> <description>Enumerations used by <page>Entity:AddEffects</page>, <page>Entity:RemoveEffects</page> and <page>Entity:IsEffectActive</page>.</description> <items> <item key="EF_BONEMERGE" value="1">Performs bone merge on client side</item>⤶ <item key="EF_BONEMERGE_FASTCULL" value="1">28|For use with EF_BONEMERGE. If this is set, then it places this ents origin at its parent and uses the parent's bbox + the max extents of the aiment. Otherwise, it sets up the parent's bones every frame to figure out where to place the aiment, which is inefficient because it'll setup the parent's bones even if the parent is not in the PVS.</item>⤶ <item key="EF_BRIGHTLIGHT" value="2">DLIGHT centered at entity origin</item>⤶ <item key="EF_DIMLIGHT" value="4">Player flashlight</item>⤶ <item key="EF_NOINTERP" value="8">Don't interpolate the next frame</item>⤶ <item key="EF_NOSHADOW" value="1">6|Disables shadow</item>⤶ <item key="EF_NODRAW" value="3">2|Prevents the entity from drawing and networking.</item>⤶ <item key="EF_NORECEIVESHADOW" value="6">4|Don't receive shadows</item>⤶ <item key="EF_ITEM_BLINK" value="2">56|Makes the entity blink</item>⤶ <item key="EF_PARENT_ANIMATES" value="5">12|Always assume that the parent entity is animating</item>⤶ <item key="EF_FOLLOWBONE" value="1">024|Internal flag that is set by <page>Entity:FollowBone</page></item>⤶ <item key="EF_BONEMERGE" value="1|Performs bone merge on client side"></item>⤶ <item key="EF_BONEMERGE_FASTCULL" value="128|For use with EF_BONEMERGE. If this is set, then it places this ents origin at its parent and uses the parent's bbox + the max extents of the aiment. Otherwise, it sets up the parent's bones every frame to figure out where to place the aiment, which is inefficient because it'll setup the parent's bones even if the parent is not in the PVS."></item>⤶ <item key="EF_BRIGHTLIGHT" value="2|DLIGHT centered at entity origin"></item>⤶ <item key="EF_DIMLIGHT" value="4|Player flashlight"></item>⤶ <item key="EF_NOINTERP" value="8|Don't interpolate the next frame"></item>⤶ <item key="EF_NOSHADOW" value="16|Disables shadow"></item>⤶ <item key="EF_NODRAW" value="32|Prevents the entity from drawing and networking."></item>⤶ <item key="EF_NORECEIVESHADOW" value="64|Don't receive shadows"></item>⤶ <item key="EF_ITEM_BLINK" value="256|Makes the entity blink"></item>⤶ <item key="EF_PARENT_ANIMATES" value="512|Always assume that the parent entity is animating"></item>⤶ <item key="EF_FOLLOWBONE" value="1024|Internal flag that is set by <page>Entity:FollowBone</page>"></item>⤶ </items> </enum>