SRL Archive - Help

Right clicking NPC the chooseoption


loser69

2012-01-12 08:13:55

Hi currently trying to make a script that involves right clicking on a NPC then choosing the second option down,

I have gotten the script to right click on the NPC then I use

ChooseOption('');

however it doesn't click on the option instead the mouse just flys of the screen perhaps this is because of the new font update?

help plz?

YoHoJo

2012-01-12 11:04:26

Did you put anything between the ''s? Like chooseOption('Attack'); you need to type in something. Partial words work too like chooseoption('tak');
Also make sure your SRL is up to date, I'm pretty sure SRL updated to fix the chooseoption and should be working fine.

loser69

2012-01-12 11:09:55

Yea I put ('ompete') between it

and I'm pretty sure I'm up to date because it says no updates available when I check for them.

Flight

2012-01-12 11:20:02

I like using WaitOption. Give this a try:
WaitOption('ompete', 400);

loser69

2012-01-12 11:32:11

ok thanks!