View Full Version : Tiles
onilika
07-23-2011, 09:37 PM
ClickTile := Tile(2474, 3435);
Can someone explain me this?
Wizkid
07-23-2011, 09:59 PM
Where did you find that procedure? I haven't seen it before.
~ Wizkid
KingKong
07-23-2011, 10:15 PM
ClickTile := Tile(2474, 3435);
Can someone explain me this?
It just means that clicktile is a variable and it is assigned a value of 2474,3435.
Zyt3x
07-23-2011, 10:18 PM
Where did you find that procedure? I haven't seen it before.
~ WizkidIt's in the reflection library
Awkwardsaw
07-23-2011, 10:36 PM
ClickTile is a variable, TTile.
You use it like
walktotile(clicktile, 0, 0) or something or other.
onilika
07-23-2011, 10:41 PM
It just means that clicktile is a variable and it is assigned a value of 2474,3435.
how do i get that value?
how do i get that value?
You can use RsBuddy to gather tiles.
To get the player position with RsBuddy go to the drop down menu called View then click Player Position.
onilika
07-23-2011, 11:28 PM
RsBuddy...gotta check that out! Thanks Everyone!
~UNKNOWN69
Smarter Child
07-24-2011, 03:30 AM
RsBuddy...gotta check that out! Thanks Everyone!
~UNKNOWN69
Or Rsbot, you can also use Simba to debug it.
Flight
07-24-2011, 04:00 AM
program MyCoords;
{$define SMART}
{$i srl/srl.scar}
{$i Reflection/Reflection.simba}
Procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
with Players[0] do
begin
Name := '';
Pass := '';
Nick := '';
Pin := '';
Active := True;
end;
end;
Procedure DisplayCoords;
begin
Wait(500);
ClearDebug;
Writeln('Tile('+IntToStr(R_GetMyPos.x)+','+IntToSt r(R_GetMyPos.y)+')');
end;
begin
Smart_Server := 86;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
DeclarePlayers;
repeat
DisplayCoords;
until(false)
end.
onilika
07-24-2011, 10:13 AM
That's really nice Flight! Thank you!
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.