Narcle
2010-11-16 13:42:07
So are they not apart of Objects anymore? Are they a separate thing? I tried finding them with objects but they aren't there so I'm assuming they are different.
2010-11-16 13:42:07
2010-11-16 13:53:25
2010-11-16 14:40:07
2010-11-16 21:19:47
2010-11-16 21:48:32
From: Bad Boy JH
doors (usually) border 2 tiles, gates (usually) border 4. Which tile do we pick?
Actually I think each gate part is a seperate object.
2010-11-16 22:30:37
2010-11-25 17:23:26
procedure FindObjNear;
var myObj, wallObj : TRSObject;
myTile, newTile : TTile;
i : Integer;
begin
if not LoggedIn then exit;
myTile := GetMyPos;
writeln ('[--Objects--]');
newTile := Tile((myTile.x-1),myTile.y);
MyObj := GetObjectAt(newTile, OBJECT_TYPE_INTERACTABLE);
WallObj := GetWallObjectAt(newTile);
if MyObj.ID > 0 then
begin
writeln ('(W)');
writeln ('ID: '+inttostr(MyObj.ID)+', Tile('+inttostr(MyObj.Tile.x)+','+inttostr(MyObj.Tile.y)+')');
end;
if WallObj.ID > 0 then
begin
writeln ('(W) WallObject');
writeln ('ID: '+inttostr(WallObj.ID)+', Tile('+inttostr(WallObj.Tile.x)+','+inttostr(WallObj.Tile.y)+')');
end;
newTile := Tile((myTile.x),myTile.y-1);
MyObj := GetObjectAt(newTile, OBJECT_TYPE_INTERACTABLE);
WallObj := GetWallObjectAt(newTile);
if MyObj.ID > 0 then
begin
writeln ('(S)');
writeln ('ID: '+inttostr(MyObj.ID)+', Tile('+inttostr(MyObj.Tile.x)+','+inttostr(MyObj.Tile.y)+')');
end;
if WallObj.ID > 0 then
begin
writeln ('(S) WallObject');
writeln ('ID: '+inttostr(WallObj.ID)+', Tile('+inttostr(WallObj.Tile.x)+','+inttostr(WallObj.Tile.y)+')');
end;
newTile := Tile((myTile.x+1),myTile.y);
MyObj := GetObjectAt(newTile, OBJECT_TYPE_INTERACTABLE);
WallObj := GetWallObjectAt(newTile);
if MyObj.ID > 0 then
begin
writeln ('(E)');
writeln ('ID: '+inttostr(MyObj.ID)+', Tile('+inttostr(MyObj.Tile.x)+','+inttostr(MyObj.Tile.y)+')');
end;
if WallObj.ID > 0 then
begin
writeln ('(E) WallObject');
writeln ('ID: '+inttostr(WallObj.ID)+', Tile('+inttostr(WallObj.Tile.x)+','+inttostr(WallObj.Tile.y)+')');
end;
newTile := Tile((myTile.x),myTile.y+1);
MyObj := GetObjectAt(newTile, OBJECT_TYPE_INTERACTABLE);
WallObj := GetWallObjectAt(newTile);
if MyObj.ID > 0 then
begin
writeln ('(N)');
writeln ('ID: '+inttostr(MyObj.ID)+', Tile('+inttostr(MyObj.Tile.x)+','+inttostr(MyObj.Tile.y)+')');
end;
if WallObj.ID > 0 then
begin
writeln ('(N) WallObject');
writeln ('ID: '+inttostr(WallObj.ID)+', Tile('+inttostr(WallObj.Tile.x)+','+inttostr(WallObj.Tile.y)+')');
end;
Wait(2000);
end;
2010-11-25 18:28:30