Nindustries
2009-02-23 08:21:34
Hi.
I'm using the Offset Tutorial from here .
Whats the notation of a UID? I think I have a wrong interpretation of a long..
I'm using this code as a Fence door Handler
I'm using the Offset Tutorial from here .
Whats the notation of a UID? I think I have a wrong interpretation of a long..
I'm using this code as a Fence door Handler
Procedure OpenFence;
Begin
Writeln('-> Fence is closed ! Trying to Open .. ');
V := TileToMSEx(Tile(P.x,P.y), 13);
Mouse(v.x,v.y-10,3,3,true);
End;
Procedure CheckForFence ;
Begin
IF NOT(LoggedIn) THEN Exit;
Writeln('-> Initiating Fence-check..');
if (Findobject(P,36915)) and (DistanceFrom(P) < 6) then
Repeat
OpenFence
Until (GetObjectAt(3189,3279) <> 36915) ; // Heres the error ..
Writeln('-> Fence-check Finished');
End;