CEntities C++ CScriptEntityIterator
11 own methods
!The global list of entities
Methods
callable on a CEntities script handle| Script Function | Returns | Parameters | Description |
|---|---|---|---|
| FindByClassname | hscript | hscript, cstring | Find entities by class name. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search |
| FindByClassnameNearest | hscript | cstring, Vector, float | Find entities by class name nearest to a point. |
| FindByClassnameWithin | hscript | hscript, cstring, Vector, float | Find entities by class name within a radius. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search |
| FindByModel | hscript | hscript, cstring | Find entities by model name. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search |
| FindByName | hscript | hscript, cstring | Find entities by name. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search |
| FindByNameNearest | hscript | cstring, Vector, float | Find entities by name nearest to a point. |
| FindByNameWithin | hscript | hscript, cstring, Vector, float | Find entities by name within a radius. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search |
| FindByTarget | hscript | hscript, cstring | Find entities by targetname. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search |
| FindInSphere | hscript | hscript, Vector, float | Find entities within a radius. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search |
| First | hscript | none | Begin an iteration over the list of entities |
| Next | hscript | hscript | Continue an iteration over the list of entities, providing reference to a previously found entity |