User Tools

Site Tools


crpl:docs:getimagecolor

This is an old revision of the document!


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
crpl/docs/getimagecolor.1358194681.txt.gz · Last modified: 2014/10/01 15:02 (external edit)