GamerRick Posted June 6, 2021 Share Posted June 6, 2021 I put this together to display the cell coordinates of the player in the console (for situations where I would then need to find that same cell in the GECK: if player.IsInInterior == 0 set fX_coord to player.getpos x / 4096 set fY_coord to player.getpos y / 4096 ;PrintC"Current Cell Coordinates: %2.2f, %2.2f" fX_coord fY_coord set fX_coord to floor fX_coord set fY_coord to floor fY_coord PrintC"Current Cell Coordinates: %2.0f, %2.0f" fX_coord fY_coord endifI am wondering if that is the most accurate I can get with it????? It seems to be fairly accurate, but it's hard to tell, since you can't see cell boundaries in game. Not sure if the floor command is right or there should be another way to round up or down to be accurate. Link to comment Share on other sites More sharing options...
madmongo Posted June 6, 2021 Share Posted June 6, 2021 Yeah, that works. Since cell 0 is coordinates 0 to 4095, cell 1 is 4096 to 8191, etc. floor is the right command in this case. Link to comment Share on other sites More sharing options...
GamerRick Posted June 6, 2021 Author Share Posted June 6, 2021 Thanks. I thought so but couldn't visualize it. Link to comment Share on other sites More sharing options...
Recommended Posts