User Tools

Site Tools


prpl:currentx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
prpl:currentx [2016/12/02 23:33] – external edit 127.0.0.1prpl:currentx [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]]+<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#Scripts|Scripts]]
  
-=====  CURRENTX  =====+=====  CurrentX  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-| | | [ - ] |+| | X Coord| [ - x1 ] |
  
  
 === Description === === Description ===
 +Returns the current X Coordinate of the unit running the command.
  
 === Examples === === Examples ===
-<code> stack.Push(new Data(GetCell(baseUnit.coordX)));  +<code prpl
- +    CurrentX 5 add ->xPosition # position 5 cells to the right of the unit
 </code> </code>
  
prpl/currentx.1480721632.txt.gz · Last modified: 2025/02/14 14:56 (external edit)