[BUG] Random sphere color?

Started by rww, May 06, 2016, 11:29 AM

Previous topic - Next topic

rww



CreateCheckpoint(null,1,true,Vector(143.3,-1373.1,10.4),RGB(255,150,200),0.8); //1
CreateCheckpoint(null,1,true,Vector(139.2,-1370.7,13.2),RGB(255,150,200),0.8); //2
Join to Irrelevant Club Discord: https://discord.gg/MsPPZ5uV4X

Murdock

Spheres/checkpoints use ARGB, not RGB. Using RGB might lead to unexpected behaviour.
Try ARGB instead, for example:
CreateCheckpoint(null,1,true,Vector(143.3,-1373.1,10.4),ARGB(255,255,150,200),0.8); //1
CreateCheckpoint(null,1,true,Vector(139.2,-1370.7,13.2),ARGB(255,255,150,200),0.8); //2

rww

Join to Irrelevant Club Discord: https://discord.gg/MsPPZ5uV4X