User Tools

Site Tools


crpl:docs:settextz

<- CRPL reference <- Text Commands

SetTextZ

ArgumentsResultNotation
Z coordinate f1 –

Description

Sets the Z coordinate (in floating point pixel space) of the text. The Z coordinate of the text is the text's graphical layer. Higher Z values are towards the back of the map (i.e. behind other text and images) whereas lower Z values are closer to the camera.

Refer to the table in SetImagePositionZ for where each Z index will place the image.

Examples

# Set the location of "Text" to Z=1 
# (Behind the units, but on top of the terrain). 
"Text" SetText
1 SetTextZ
crpl/docs/settextz.txt · Last modified: 2021/02/05 11:45 by Karsten75