~~NOTOC~~ <=[[4rpl:start| Index]] \\ <=[[4rpl:start#vectors| Vectors]] * [[4rpl:commands:fromcell|From]] * [[4rpl:commands:tocell|To]] ====== ToCell ====== ToCell(<-cell) ->cellZ ->cellX ===== Description ===== Extracts the x and z 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 <=[[4rpl:start| Index]]