View Single Post
  #22  
Old 07-18-2011, 10:49 PM
Criimson
Hill Giant
 
Join Date: Sep 2006
Posts: 172
Default

I have to say: lerxst2112 you are great

I really appreciate all of the help while I learn. I am too stubborn to say I can't do it or learn it and its nice to have someone help when stuck.

Your code works great. I had to remove the
Code:
if(setcolor) {
    setcolor |= (0xff << 24);
}
For some reason with it in it would always return a negative number. But the code works exactly without it. 255 0 0 is red 0 0 255 is blue. Thats exactly how it should work.

Criimson

EDIT: yea using this RGB system is nice. I sat there for like 5 minutes just testing it on my enchanter, watching her rob change
Reply With Quote