SRL Archive - OSR Help

How to talk to NPC?


ogustuce

2012-03-12 13:02:25

hi what i want to do i somthing like

click continue( like four time)
choose an option from the npc(like 'hello')
then click continue again

how can i do that??

thanks

tehq

2012-03-12 13:22:29


repeat
inc(Cont);
ClickContinue(false, true);
until (FindNPCChatText('hello', clickleft) or (Cont = 3));
ClickContinue(false, true);

ogustuce

2012-03-12 13:34:10

kk, ill try this. thanks

ogustuce

2012-03-12 13:43:53

it works for clicking continue but it doen't click the option

ogustuce

2012-03-12 13:50:11

nvm, it click the option but doesn't click continue again after choosing the option

tehq

2012-03-12 13:53:26

Triple post X( add a begin

Brandon

2012-03-12 13:58:15


MakeCompass('N');
Repeat
repeat
ClickToContinue;
until(ClickToContinue = False);
wait(500);
FindNPCChatText('es', ClickLeft);
wait(2000);
Inc(Tries);
Until(Whatever other condition or (Tries > 7));