FindType - Tile Range

Post Reply
fdesu
Neophyte
Neophyte
Posts: 14
Joined: 07.05.2019 5:48

FindType - Tile Range

Post 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!
GeeZeR
Apprentice
Apprentice
Posts: 226
Joined: 28.01.2012 19:48

Re: FindType - Tile Range

Post by GeeZeR »

choose an element of the petList
Last edited by GeeZeR on 30.06.2019 14:21, edited 1 time in total.
Stealth 8.10.2 | Клиент: 7.0.13.4
fdesu
Neophyte
Neophyte
Posts: 14
Joined: 07.05.2019 5:48

Re: FindType - Tile Range

Post by fdesu »

GeeZeR wrote:chose an element of the petList
Hi GeeZeR, is not nesesary, because python show everything in the list.
GeeZeR
Apprentice
Apprentice
Posts: 226
Joined: 28.01.2012 19:48

Re: FindType - Tile Range

Post by GeeZeR »

Try to play with FindVertical then
Stealth 8.10.2 | Клиент: 7.0.13.4
fdesu
Neophyte
Neophyte
Posts: 14
Joined: 07.05.2019 5:48

Re: FindType - Tile Range

Post 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.
fdesu
Neophyte
Neophyte
Posts: 14
Joined: 07.05.2019 5:48

Re: FindType - Tile Range

Post by fdesu »

It is my machine dizzy!, Thanks !
Post Reply