<- CRPL reference <- Text Commands
Arguments | Result | Notation |
---|---|---|
Y Coordinate | n1 - |
Sets the anchor point on the unit for SetText to attach to. SetTextY adjusts the horizontal location of the text in relation to the unit, with 0 being the default and centered on the unit. Used in conjunction with SetTextX and SetTextAnchor. Positive values move the text to the top.
# Set text to display offset below the unit "Hello Creeper World" SetText -10 SetTextY # Warp notation SetText("Hello Creeper World") SetTextY(-10)