1. Animals
  2. Abilities
  3. Conditions
  4. Tool/Weapon
  5. Weapon Mods
  6. Orb
  7. Equipped
  8. Food/Medicine
  9. Furniture/Construction
  10. Color/Pattern
  11. Items
  12. Attributes
  13. Creatures
  14. Blocks
  15. Props
  16. API Types
  17. API Functions

LT_entity_scan

array LT_entity_scan(number world,vector location,number radius)

numberworld World ID of map to scan inside
vectorlocation Center point of scan sphere
numberradius Radius to detect entities within

Finds all entities within a given radius. Provide the location as the center point and radius of the scan sphere and this function will return an array of all found entity indices. If no entity was found, this will return an empty array.