<- CRPL reference <- Text Commands

SetPopupTextY

ArgumentsResultNotation
Y Coordinate n1 -

Description

SetPopupTextY adjusts the vertical location of the popup text in relation to the unit, with 5 being the default and set slightly above center on the unit. Used in conjunction with SetPopupTextX. Positive values move the popup text to the top.

Examples

# Sets a mouse-over text of "Hello" underneath instead of above the unit
"Hello" SetPopupText
-5 SetPopupTextY
# Sets a mouse-over text of "Hello" underneath instead of above the unit using Warp notation
SetPopupText ("Hello")
SetPopupTextY (-5)