This is an old revision of the document!
~~DISCUSSION~~ <- CRPL reference <- Image Commands
| Arguments | Result | Notation |
|---|---|---|
| A unit UID, image slot, rotation in radians | i1 s1 f1 -- |
Sets the rotation of the image (in radians).
# Rotate the image Self "FlyingThing" 0.1 SetImageRotation # Make a part spin around Self "RotatingPart" GetImageRotation ->currentRotation <-currentRotation 0.1 add ->currentRotation Self "RotatingPart" <-currentRotation SetImageRotation