<- CRPL reference <- Text Commands

SetPopupTextX

ArgumentsResultNotation
X Coordinate n1 -

Description

SetPopupTextX adjusts the horizontal location of the popup text in relation to the unit, with 0 being the default and centered on the unit. Used in conjunction with SetPopupTextY. Positive values move the popup text to the right.

Examples

# Sets a mouse-over text of "Hello" offset to the right
"Hello" SetPopupText
20 SetPopupTextX
# Sets a mouse-over text of "Hello" offset to the right using Warp notation
SetPopupText ("Hello")
SetPopupTextX (20)