Is there any body who knows the function UO.PrivateGetTile

Ask for help

Moderators: Murderator+, Murderator

Post Reply
cmchris
Posts: 4
Joined: 2013-06-15 05:41:48

Is there any body who knows the function UO.PrivateGetTile

Post by cmchris »

what is it used for? and what is the meaning of the 5 parameters?

I searched the forum, but failed to get the answer, so please teach me if you know it.

Thanks in advance
Chris
cmchris
Posts: 4
Joined: 2013-06-15 05:41:48

Re: Is there any body who knows the function UO.PrivateGetTi

Post by cmchris »

Thank you,Mirage
pajus
Posts: 1
Joined: 2014-02-04 19:17:56

Re: Is there any body who knows the function UO.PrivateGetTi

Post by pajus »

Hi.
I have a problem with using

Code: Select all

UO.PrivateGetTile(x,y,-1,i,i)
. It always returns 0 and I have no idea why. I want to use that for finding a specific tile nearby me. To be more specific find a tree to chop it down. But It seems this function doesn't work as it seems to work. Does anyone have an idea what I am doing wrong? Why it always returns 0

Injection version 1310.12
ingame "_version : 0.3.30.4 alpha"
Nmy
Expert!
Posts: 2152
Joined: 2005-09-14 15:31:58
Location: Latvia

Re: Is there any body who knows the function UO.PrivateGetTi

Post by Nmy »

For i = 1 to 9000
if uo.privategettile(x, y, -1, i, i) then
uo.textprint(' ID: '+Str(i))
endif
next


the i,i are diapason numbers or in this case they are checking even numbers to find the right one. if this returns 0 then try 9000 to 30000. those are tile numbers from objects or map
Post Reply