Index
Vectors

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

Index