Difference between revisions of ".reftype"
From WikiManual
m (Brief format change.) |
|||
Line 4: | Line 4: | ||
Added in 2.42.9f. | Added in 2.42.9f. | ||
+ | |||
+ | As of version 2.46B if robot does not see anything in focus eye but touch a shape its reftype is still one. |
Latest revision as of 12:13, 3 December 2013
.reftype is memory location 685. This returns the type of object in the focus eye.
If the focuseye is looking at a bot, it returns zero. If it sees a shape, it returns one.
Added in 2.42.9f.
As of version 2.46B if robot does not see anything in focus eye but touch a shape its reftype is still one.