System GetNearestEntityByClass
From CryWiki
System.GetNearestEntityByClass(vec3, number, string)
Description
Gets the entity that's closest to the given position
Arguments
- Center of the place to check
- Radius
- Classname of the entity
Returns
Table of the entity
Example
|
| |
|---|---|
| |
