Revision Difference
Custom_Entity_Fields#561663
<cat>Dev.Entities</cat>
<structure>
<description>
Information about custom fields **all** entities can have.
Information about custom fields that are not exclusive to <page>Scripted Entities</page>, fields that have an effect on any entity.
See also <page>Structures/ENT</page>
</description>
<fields>
<item name="GetEntityDriveMode" type="function" realm="server">Sandbox and Sandbox derived only.
Called by the Drive property to override the default drive type, which is `drive_sandbox`.</item>
<item name="OnEntityCopyTableFinish" type="function">Documented at <page>ENTITY:OnEntityCopyTableFinish</page>.</item>
<item name="PostEntityCopy" type="function">Documented at <page>ENTITY:PostEntityCopy</page>.</item>
<item name="PostEntityPaste" type="function">Documented at <page>ENTITY:PostEntityPaste</page>.</item>
<item name="PreEntityCopy" type="function">Documented at <page>ENTITY:PreEntityCopy</page>.</item>
<item name="OnDuplicated" type="function">Documented at <page>ENTITY:OnDuplicated</page>.</item>
<item name="PhysgunDisabled" type="boolean" realm="shared">Sandbox or Sandbox derived only.
If set to `true`, physgun will not be able to pick this entity up. This can also be set from map, see <page>Sandbox Specific Mapping</page></item>
<item name="PhysgunPickup" type="function" realm="shared">Sandbox or Sandbox derived only.
Called from <page>GM:PhysgunPickup</page>, overrides `PhysgunDisabled`</item>
<item name="m_tblToolsAllowed" type="table" realm="shared">Sandbox or Sandbox derived only.
Controls which tools **and** properties can be used on this entity. Format is a list of strings where each string is the tool or property classname.
This can also be set from map, see <page>Sandbox Specific Mapping</page></item>
<item name="GravGunPickupAllowed" type="function">Documented at <page>ENTITY:GravGunPickupAllowed</page>.</item>
<item name="GravGunPunt" type="function">Documented at <page>ENTITY:GravGunPunt</page>.</item>
<item name="CanProperty" type="function">Documented at <page>ENTITY:CanProperty</page>.</item>
<item name="CanTool" type="function">Documented at <page>ENTITY:CanTool</page>.</item>
<item name="CalcAbsolutePosition" type="function">Documented at <page>ENTITY:CalcAbsolutePosition</page>.</item>
<item name="RenderOverride" type="function">Documented at <page>ENTITY:RenderOverride</page>.</item>
<item name="m_RenderOrigin" type="Vector" realm="Client">Do not use.</item>
<item name="m_RenderAngles" type="Angle" realm="Client">Do not use.</item>
</fields>
</structure>