Page 1 of 1

FindType - Tile Range

Posted: 29.06.2019 21:55
by fdesu
Hi there,

I would like to know if i'm doing something wrong.
I did this code to find players or animals, in this case is my beetle.
I can't find it even with SetFindDistance 8, but i can find it only when im near to him like 3 tiles.

Code: Select all

petType = int("0317", 16)
SetFindDistance(8)
FindType(petType, Ground())
petList = GetFindedList()
AddToSystemJournal(petList)
In this picture im like 4 tiles away and SetFindDistance 8 and doesn't work it.

Image

Thanks

Regards!

Re: FindType - Tile Range

Posted: 29.06.2019 23:52
by GeeZeR
choose an element of the petList

Re: FindType - Tile Range

Posted: 30.06.2019 1:03
by fdesu
GeeZeR wrote:chose an element of the petList
Hi GeeZeR, is not nesesary, because python show everything in the list.

Re: FindType - Tile Range

Posted: 30.06.2019 14:26
by GeeZeR
Try to play with FindVertical then

Re: FindType - Tile Range

Posted: 30.06.2019 19:47
by fdesu
GeeZeR wrote:Try to play with FindVertical then
Same result as FindDistance and FindVertical.

I tried with human graphic instead of beetle graphic, Work better but not enough like to use.

Could be the terrain ?, I will reboot my system could be my machine is dizzy.

Re: FindType - Tile Range

Posted: 30.06.2019 19:53
by fdesu
It is my machine dizzy!, Thanks !