User Tools

Site Tools


crpl:docs:setimagepositionz

This is an old revision of the document!


~~DISCUSSION~~ <- CRPL reference <- Image Commands

SetImagePositionZ

ArgumentsResultNotation
A unit UID, image slot, Z coordinate i1 s1 f1 –

Description

Sets the Z coordinate (in floating point pixel space) of the image. 0,0,0 is the exact center of the unit. Leaves the X and Y coordinate as is. Images with higher Z values are towards the back of the map (ie behind other images)

Examples

# Set the location of "FlyingThing" to Z=-0.01 
# (In front of the images with higher z values). 
Self "FlyingThing" -0.01 SetImagePositionZ
crpl/docs/setimagepositionz.1391122156.txt.gz · Last modified: 2025/02/14 14:56 (external edit)