This is an old revision of the document!
~~DISCUSSION~~ <- CRPL reference <- Image Commands
Arguments | Result | Notation |
---|---|---|
A unit UID, image slot, Z coordinate | i1 s1 f1 – |
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)
# Set the location of "FlyingThing" to Z=-0.01 # (In front of the images with higher z values). Self "FlyingThing" -0.01 SetImagePositionZ