~~NOTOC~~
* [[4rpl:commands:fromcell|From]]
* [[4rpl:commands:tocell|To]]
====== ToCell ======
ToCell(<-cell) ->cellY ->cellX
===== Description =====
Extracts the x and y coordinates from a vector and rounds them to ints, pushing the two results to the stack. The inverse operation is [[FromCell]]
===== Examples =====
GetUnitPosition(self) toCell ->cellZ ->cellX