eloyarosio Posted October 10 Share Posted October 10 Hi There! I can't find the answer to this relatively simple question, how can I get the coordinates of the tile my mouse or character is on? I have this command here ThePlayer.components.talker:Say(tostring(TheWorld.Map:GetTileCoordsAtPoint(AllPlayers[1]:GetPosition():Get()))), but it seems to give me back just x coord not y, if anyone can help me. I'll take this opportunity and ask another question, is there a command that changes the floor more than one tile at a time? I'm using this one at the moment as it was the only one I found TheWorld.Map:SetTile(x, y, tile). Thank you very much. Link to comment Share on other sites More sharing options...
eloyarosio Posted October 10 Author Share Posted October 10 Just found the command guys: print(TheWorld.Map:GetTileCoordsAtPoint(AllPlayers[1]:GetPosition():Get())). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now