User Tools

Site Tools


crpl:docs:getimagepositionz

This is an old revision of the document!


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

GetImagePositionZ

ArgumentsResultNotation
A unit UID, image slot i1 s1 – f1

Description

Gets the Z coordinate (in floating point pixel space) of the image. 0,0,0 is the exact center of the unit. The Z coordinate is useful for determining which images appear in front of other images.

Examples

#Get the Z location of "FlyingThing"
Self "FlyingThing" GetImagePositionZ trace
crpl/docs/getimagepositionz.1507862658.txt.gz · Last modified: 2017/10/12 22:44 by GameGibu