Talk:GetPositionX - ObjectReference

From the CreationKit Wiki
Revision as of 13:03, 9 September 2017 by imported>Lisselli (On converting/using cell coordinates.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Getting Cell Coordinates

Ever wondered how you can use the Cell View window's coordinates in game? Simple. You take the two values and you multiply them by 4096. If you want to convert an object's in game coordinates to use in the Cell View window, you divide the X and Y values by 4096 and cast as int to remove the decimals. Lisselli (talk)--