Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with Accessible objects?!?!?!
#10
Alright heres a part of it:
Code:
Copy      Help
5
key+ R
0.1
key- R
key (VK_F8)
key v
int c=pixel(53 619) ;;get color of pixel 53 619 (location)
if(c=0xFFBE00) ;;if color is 0xFFBE00 (blue con color)
,key e
key 1
key 3
key 1
key 3
key 1
key 3
key 1
key 3
key 1
key 3
key 1
key 3
key 1
key 3
key 1
key 3
else if(c=l0xFFFFFF) ;;White con color
,key e
key 1
key 3
key 1
key 3
key 1
key 3
key 1
key 3
key 1
key 3
key 1
key 3
key 1
key 3
key 1
key 3

however when i try that, it highlights the "else" and says:
Error in Program1: else without if.
but, if i take away the "else" it seems to be working, havnt tested it enough yet to be sure


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)