Garry's Mod Wiki

Revision Difference

scripted_ents.GetList#528623

<function name="GetList" parent="scripted_ents" type="libraryfunc"> <description>Returns a copy of the list of all ENT tables registered</description> <realm>Shared</realm> <rets> <ret name="" type="table">A table of all entities in the following format: (table keys are the classnames) * <page>table</page> t - The <page>ENT associated with the entity</page>⤶ * <page>table</page> t - The <page text="ENT">Structures/ENT</page> table associated with the entity⤶ * <page>boolean</page> isBaseType - Always true * <page>string</page> Base - The entity base (note capital B in the key name) * <page>string</page> type - The entity type</ret> </rets> </function>