User Tools

Site Tools


crpl:docs:setimageposition

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
crpl:docs:setimageposition [2013/01/14 14:11] – external edit 127.0.0.1crpl:docs:setimageposition [2018/12/17 12:44] – Hyperlink to SetImagePositionZ Grabz
Line 1: Line 1:
 +~~DISCUSSION~~ 
 +<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#image_commands|Image Commands]]
 =====  SetImagePosition  ===== =====  SetImagePosition  =====
  
Line 8: Line 9:
 === Description === === Description ===
 Sets the coordinates (in floating point pixel space) of the image.  Sets the coordinates (in floating point pixel space) of the image. 
-0,0,0 is the exact center of the unit. Negative values are closer to the camera.+0,0,0 is the exact center of the unit. Negative values are closer to the camera
 + 
 +For more information on how the Z value works, as well as a list of some of the layers the game uses to render items, see [[crpl:docs:setimagepositionz|SetImagePositionZ]].
 === Examples === === Examples ===
 <code># Set the location of "FlyingThing" to 10,10  <code># Set the location of "FlyingThing" to 10,10 
Line 17: Line 20:
 Self "FlyingThing" 10 10 -0.01 SetImagePosition Self "FlyingThing" 10 10 -0.01 SetImagePosition
 </code>  </code> 
- 
  
crpl/docs/setimageposition.txt · Last modified: 2021/02/05 11:43 by Karsten75