Pentti
10-04-2006, 03:54 PM
Where is setrun in SRL 3.4? Not in Mapwalk.scar and not in XMapWalk.scar where is it?
Eduard
10-04-2006, 04:11 PM
Maby is this what you mean :) ?
It has SetRun(true), So its the same function i think :).
But its definatly in MapWalk.scar ...
************************************************** *****************************
procedure RunTo(dir: String; runfar: Boolean);
By: Mutant Squirrle
Description: Runs to direction
************************************************** *****************************}
procedure RunTo(dir: String; runfar: Boolean);
begin
SetRun(true);
if (runfar) then
case UpperCase(dir) of
'N': MouseFlag(648, 83 - 63, 0, 0)
'S': MouseFlag(648, 83 + 63, 0, 0)
'E': MouseFlag(648 + 63, 83, 0, 0)
'W': MouseFlag(648 - 63, 83, 0, 0)
end;
if (not runfar) then
case UpperCase(dir) of
'N': MouseFlag(648, 83 - 30, 0, 0)
'S': MouseFlag(648, 83 + 30, 0, 0)
'E': MouseFlag(648 + 30, 83, 0, 0)
'W': MouseFlag(648 - 30, 83, 0, 0)
end;
wait(6500);
IdleTime(6000, 500, 1.0);
if (runfar) then
case UpperCase(dir) of
'N': MouseFlag(648, 83 + 63, 0, 0)
'S': MouseFlag(648, 83 - 63, 0, 0)
'E': MouseFlag(648 - 63, 83, 0, 0)
'W': MouseFlag(648 + 63, 83, 0, 0)
end;
if (not runfar) then
case UpperCase(dir) of
'N': MouseFlag(648, 83 + 30, 0, 0)
'S': MouseFlag(648, 83 - 30, 0, 0)
'E': MouseFlag(648 - 30, 83, 0, 0)
'W': MouseFlag(648 + 30, 83, 0, 0)
end;
SetRun(False);
GameTab(4);
end;
Hope This helped.
~Ed:)
Pentti
10-04-2006, 05:09 PM
I mean where is SetRun procedure located, i can't find the procedure in the mapwalk.scar or in xmapwalk.scar. But in MapWalk.scar reads that there is SetRun(
// * Procedure SetRun(run:Boolean); // * by Stupid3ooo), but it isn't there.
WT-Fakawi
10-04-2006, 06:50 PM
Ever tried ctrl+f (containing text) from Explorer? :)
nvm... it is located in SRL/core/GameTab.scsar
bobert5696
10-04-2006, 09:35 PM
lol, ya, that took me FOREVER to find was bugging me, is 3.5 gonna be released with new run fix? i edited it myself, but for those who cant (simple fix, kinda sad if u cant)
Czepa
10-05-2006, 05:34 AM
can u plz put in in srl3.5 and put in d/l section? pleeeeeaaase
Pentti
10-05-2006, 03:59 PM
Ever tried ctrl+f (containing text) from Explorer? :)
nvm... it is located in SRL/core/GameTab.scsar
ok, thanks.
I Pick Axes
10-05-2006, 09:42 PM
http://www.villu-reborn.com/showthread.php?p=32567#post32567
I wrote that when I was messing around with something. Feel free to use it if you need.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.