• 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!

TFS 1.X+ How to get ground position from mouse position on display

Kvn007

Member
Joined
Aug 20, 2009
Messages
22
Reaction score
10
I really dont know how i can do it.

i need get tile pos under mouse cursor.
 
Solution
that command uses the path as a reference, but at no time does he get the position of the mouse inside the client's window.
Code:
void Game::playerAutoWalk(uint32_t playerId, const std::forward_list<Direction>& listDir)
Code:
const std::forward_list<Direction>& listDir
with that list of directions you can calculate the way.
i have the command /cliport in me tfs 1.37
that command uses the path as a reference, but at no time does he get the position of the mouse inside the client's window.
Code:
void Game::playerAutoWalk(uint32_t playerId, const std::forward_list<Direction>& listDir)
Code:
const std::forward_list<Direction>& listDir
with that list of directions you can calculate the way.
i have the command /cliport in me tfs 1.37
 
Solution
Back
Top