PDA

View Full Version : Fishing Script



zaoraura
05-20-2017, 10:20 PM
I attempted to make a script, but when i go to execute it the script just quits right away.
Help please.


function Walker.Goto(label, relative)

if Self.Position(1028, 1011, 7) then
Walker.Goto('Boat')
wait(500,1000)
Walker.Start()

elseif Self.Position(1014, 973, 7) then
Self.SayToNpc({"hi", "fishing island", "yes"}, 100)
wait(500, 1000)
Walker.GoTo('Isle')

elseif Self.Position(1094, 785, 7) then
Walker.Stop()
end

end

Trykon
05-21-2017, 04:14 PM
This is just function. You have to use it in your code...

zaoraura
05-21-2017, 06:13 PM
Well how do i make it into a lua that reads my walker then? I thought i knew but apparently not.

Trykon
05-21-2017, 10:04 PM
Well how do i make it into a lua that reads my walker then? I thought i knew but apparently not.

This is overcomplicating script.
If you want simple lua for hunting then check basic script in:
http://forums.xenobot.net/showthread.php?42709-TRK-Scripts-taking-requests&p=485499&viewfull=1#post485499