Garry's Mod Wiki
Description
Information about the ENT structure, which represents a Scripted Entity class definition.
To learn more about scripted entities, see this page.
See also ENTITY Hooks for a list of events scripted entities can have. See Custom Entity Fields for a list of events and fields all entities can have.
While some of the fields may be serverside or clientside only, it is recommended to provide them on both so addons could use their values.
Members
- anim
- brush
- point
- ai
- nextbot
- filter
See Scripted Entities for a more detailed explanation of what each one is.
Default: false
Default: false
Default: false
Default: false
Default: false
Default: ""
Like many functions, this expects a path relative to the materials/
folder, do not include materials/
in the provided string.
Default: "entities/<ClassName>.png"
Can be used to make the entity pass though certain otherwise solid meshes, such as grates, or special clip brushes.
nextbot
, anim
and ai
type SENTs.Default: nil
anim
type entities, if set, enables physics collision sounds.Default: false
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...