• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[HELP] getInfoMousePosition

Orbis

Orbis - A new Adventure A New World
Joined
Dec 26, 2013
Messages
16
Reaction score
3
Hi everyone!
In OTClient there is some function that return informations of under mouse?

Example:
if not thing then return end
itemID = getInfoMousePosition(id)
print('ID:' ..itemID)
end

IDK
Anyone help?

Maybe:
g_game.requestItemInfo
maybe how i use ?
 
Last edited by a moderator:
Hi everyone!
In OTClient there is some function that return informations of under mouse?

Example:
if not thing then return end
itemID = getInfoMousePosition(id)
print('ID:' ..itemID)
end

IDK
Anyone help?
edubart/otclient
Lua:
g_window.getMousePosition()
 
didn't work

actually i need something looks like this

g_game.look(thing)

but getItemId instead look
 
Back
Top