SRL Archive - Reflection Help

Finding a Ladder with reflection


BobboHobbo

2009-06-22 14:02:30

Im trying to find a ladder with reflection so.. read on.

Well i was trying function FindObject(Var Tile: TPoint; objType: Integer): Boolean;

Firstly i dont get what ObjType is that the UID of the ladder? Because i did that and it says it finds it but when i done mouse(TheTpoint.x,thetpoint.y,0,0,false); it doesnt do anything.

Is there some other way of finding the ladder of UID of 35922?

Help please.

Frt

2009-06-22 14:07:54

You have to do a TileToMS.

BobboHobbo

2009-06-22 15:34:10

Ohhh yeah! i compeletly forgot about that, :) <3 Frt Rep for you.

mormonman

2009-06-22 15:41:54

Why not just use the tile, and check for the uid on that tile? It will be faster and more accurate.