<- CRPL reference <- Image Commands

GetImageColor

ArgumentsResultNotation
A unit UID, image slot i1 s1 – i2 i3 i4 i5

Description

Gets the color of the light shining on the sprite. Red, Green, Blue, and alpha values are in the range of 0-255. All four values are pushed the to stack with alpha being at the top of the stack.

Examples

Self "FlyingThing" GetImageColor trace4