Difference between revisions of "Talk:GetPositionX - ObjectReference"

Jump to navigation Jump to search
m
imported>Lisselli
(→‎GetCoordinateX: Fixed code to account for negative values.)
imported>Lisselli
Line 6: Line 6:
== GetCoordinateX ==
== GetCoordinateX ==
<source lang="papyrus">
<source lang="papyrus">
Float Function GetCoordinateX(ObjectReference akRef)
Int Function GetCoordinateX(ObjectReference akRef)
     ; Converts the objects' position to the X coordinate of the cell.
     ; Converts the objects' position to the X coordinate of the cell.
     Float GetPosX = akRef.GetPositionX()
     Float GetPosX = akRef.GetPositionX()
Anonymous user

Navigation menu