Search found 3 matches
- Thu Jun 21, 2018 5:55 pm
- Forum: Modding help
- Topic: Finding any entity at an exact location
- Replies: 4
- Views: 841
Re: Finding any entity at an exact location
Okay, didn't realize I can use that one to search just one position. Thank you
- Thu Jun 21, 2018 5:47 pm
- Forum: Modding help
- Topic: Finding any entity at an exact location
- Replies: 4
- Views: 841
Re: Finding any entity at an exact location
Because I need to check if there is an object of a type at a certain position. And all I know is the prototype/type name, not the actual entity name.
- Thu Jun 21, 2018 4:24 pm
- Forum: Modding help
- Topic: Finding any entity at an exact location
- Replies: 4
- Views: 841
Finding any entity at an exact location
Hi, I am probably missing something and there is a function for this. I need to find an entity at an exact spot, exactly what LuaSurface.find_entity does. But I need to be able to find any entity, or entity of specific type. Is there a way to do this without having to use LuaSurface.find_entities ...