Author Topic: Numeration of eyef RESOLVED (BY DESIGN)  (Read 3135 times)

Offline Welwordion

  • Bot Destroyer
  • ***
  • Posts: 325
    • View Profile
Numeration of eyef RESOLVED (BY DESIGN)
« on: December 06, 2007, 05:50:47 PM »
Ok there something seriously wrong with the numeration of .eyef when eye5 is the focus it returns different values, oh and why the heck are the numbers you have to store in focuseye all shifted 4 upwards(eye5 is 9 in focuseye)

used:


cond
*.refeye *.myeye =
*.eye5 0 >
start
1 *.eyef 61 add store
stop

end



and got multiple 1 in values even above 70
« Last Edit: December 06, 2007, 06:43:40 PM by EricL »

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Numeration of eyef RESOLVED (BY DESIGN)
« Reply #1 on: December 06, 2007, 06:42:57 PM »
.eyef is read only.  It will be equivalent to .eye5 when .focuseye is 0.

The values for .focuseye are the way they are so that a default value of 0 means .eye5 is the focus eye.

I suggest you read this.
Many beers....

Offline Welwordion

  • Bot Destroyer
  • ***
  • Posts: 325
    • View Profile
Numeration of eyef RESOLVED (BY DESIGN)
« Reply #2 on: December 07, 2007, 01:16:14 AM »
Well I know that eyef is read only, but why does it return values larger 0 when I do not change the focuseye?

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Numeration of eyef RESOLVED (BY DESIGN)
« Reply #3 on: December 07, 2007, 01:18:13 AM »
Quote from: Welwordion
Well I know that eyef is read only, but why does it return values larger 0 when I do not change the focuseye?
If focuseye is 0, then the value of eyef will be whatever the value of eye5 is.
Many beers....

Offline Welwordion

  • Bot Destroyer
  • ***
  • Posts: 325
    • View Profile
Numeration of eyef RESOLVED (BY DESIGN)
« Reply #4 on: December 07, 2007, 03:06:47 AM »
I really have a tendency to make an idiot out of myself right? ^^
Thought .eyef was meant to return which eye you focus on, but your right if I carefully read the link you gave me I would have understood that alone.  
Ah well some people are just born hasty    hahaha

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Numeration of eyef RESOLVED (BY DESIGN)
« Reply #5 on: December 07, 2007, 10:32:33 AM »
Quote from: Welwordion
Thought .eyef was meant to return which eye you focus on
.focuseye serves that role.  It is read/write and it persists across cycles.  So you can set it one place and read it back in another or read it back to check if someone infoshot you there for example.

Quote from: Welwordion
Ah well some people are just born hasty    hahaha
Doesn't bother me as long as I've had my coffee...  
Many beers....