User Tools

Site Tools


4rpl:commands:tocell

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

4rpl/commands/tocell.txt · Last modified: 2021/03/05 10:17 by Karsten75