<- PRPL reference <- Scripts

CurrentX

ArgumentsResultNotation
X Coord [ - x1 ]

Description

Returns the current X Coordinate of the unit running the command.

Examples

    CurrentX 5 add ->xPosition # position 5 cells to the right of the unit