Jump to content

Just Need Help with Coordinates


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...