DeSnob
2010-06-06 17:33:22
Hey guys, i'm new to reflection so I'm confused on how to find objects and then click on them. Since there aren't any updated tuts, the only place i can go for help is here. Can somebody explain to me, how I would do so?
2010-06-06 17:33:22
2010-06-06 18:10:45
Obj := GetObjectByID(ID, ObjType, MaxDist);
P := TileToMS(Obj.Tile);//p is a TPoint
Mouse(p.x, p.y, 0, 0);
2010-06-06 18:42:22
From: bbri06
Use one of the GetObject type commands and then something like this
Obj := GetObjectByID(ID, ObjType, MaxDist);
P := TileToMS(Obj.Tile);//p is a TPoint
Mouse(p.x, p.y, 0, 0);