Difference between revisions of ".reftype"

From WikiManual
Jump to: navigation, search
(Created a basic .reftype page. Someone should improve in the future, but this will suffice for now.)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
.reftype is memory location 685. This returns the type of object in the focus eye.
 
.reftype is memory location 685. This returns the type of object in the focus eye.
  
−
Bot - 0
+
If the focuseye is looking at a bot, it returns zero. If it sees a shape, it returns one.
−
Shape - 1
 
  
 
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.