Useful Convert - cookgreen/Yuris-Revenge GitHub Wiki
WPos -> CPos
CPos cpos = actor.World.Map.CellContaining(wpos)
CPos -> WPos
WPos wpos = actor.World.Map.CenterOfCell(cpos)
WPos -> Target
Target target = Target.FromPos(wpos)
Target -> WPos
WPos wpos = Target.CenterPosition
int -> WDist
WDist wdist = WDist.FromCells(intvalue)
WDist -> int
int intvalue = wdist.length / 1024