Log in

View Full Version : What is Ftwait?



mrpickle
04-17-2009, 03:51 AM
i've been looking around abit, can't find ftwait. so, what is it? what does it do?

and more importantly, what's the updated command?

Iroki
04-17-2009, 03:54 AM
It was removed in this rev :P

WT-Fakawi
04-17-2009, 03:57 AM
FTWait (FindTalkWait) waits approx 250 msecs and performs one search for your RS-nickname appearing in yellow as a random addresses you. But randoms do not address you anymore, they merely teleport you away. Thus FTWait was removed.

It was originally designed to provide the programmer with a usefull routine while waiting in rs.

mrpickle
04-17-2009, 03:59 AM
Thanks much. That's all I need to know =D.

Harry
04-20-2009, 05:10 AM
FTWait (FindTalkWait) waits approx 250 msecs and performs one search for your RS-nickname appearing in yellow as a random addresses you. But randoms do not address you anymore, they merely teleport you away. Thus FTWait was removed.

It was originally designed to provide the programmer with a usefull routine while waiting in rs.
That's interesting. But, can you not put it back in the next revision? Maybe just have it do the waits, but not using FindTalk? It is a useful command to keep in so scripts compile, and also useful to use to do a wait(). Much easier to not have to write in randomness on your own waits. Will also save kBs in your scripts.

Just reduce to this and re-implant it into rev 33?
procedure FTWait(Time: Integer);
var
t: Integer;
begin
for T := 1 to Time do
Wait(200 + Random(50));
end;

TheGreatBeast
04-21-2009, 11:17 PM
EDIT:

Sorry, wrong forum...

JAD
04-21-2009, 11:20 PM
Hmm...


Failed when compiling
Line 120: [Hint] (16983:1): Variable 'I' never used in script C:\Program Files\SCAR 3.20\Scripts\forefeathers1.2.5.scar
Line 294: [Error] (17157:1): Unknown identifier 'ftwait' in script C:\Program Files\SCAR 3.20\Scripts\forefeathers1.2.5.scar

What is ftwait?

As said above, it was taken out of the srl include completely. Any scripts that still use ftwait will need to be updated.

You can update it yourself or you can wait for the script to be updated. To update yourself, just take off the ft to make it just wait, then multiply the number inside the parenthesis by 4. Then after the new number in there, put +random(750).