waderrtk
02-01-2016, 05:31 PM
Hello. I need better script lua for close all bps, open main bp, open blue bp, open red bp and minimize all of them.
I've got something like this and its not working
local MainBP = 10327
local ItemBP = 2869
local GoldBP = 2867
elseif (labelName == "ResetBp") then
Walker.Stop()
Container.Close(ItemBP)
wait(1000)
Container.Close(GoldBP)
wait(1000)
Container.Close(MainBP)
wait(1000)
Container.GetFirst():OpenChildren(MainBP)
wait(1000)
Container.GetFirst():OpenChildren(ItemBP)
wait(1000)
Container.GetFirst():OpenChildren(GoldBP)
wait(1000)
Container.GetByName(MainBP):Minimize()
wait(1000)
Container.GetByName(ItemBP):Minimize()
wait(1000)
Container.GetByName(GoldBP):Minimize()
wait(200)
if (HideEquipment) then
Client.HideEquipment()
wait(1000)
end
Walker.Start()
end
The second thing is about waypoints.
I am going to make script for Laguna Island. When i am standing on TORTOISE with teleport i use "Stand North" and he is walking into TP and TPing me to Island but after TP waypoints are stop. Why? How to repair it.
Ohh i almost forgot. Can some1 give me script to follow "nick npc" and then saynpc "hi, travel, yes"
I am usting something like this
elseif (labelName == "TravelGo") then
setWalkerEnabled(false)
delayWalker(5000)
Self.Say("hi")
sleep(math.random(700, 1400))
Self.SayToNpc("peg leg") -- Tutaj wpisz wyspe na ktora sie udajesz.
sleep(math.random(300, 1000))
Self.SayToNpc("yes")
setWalkerEnabled(true)
end
Please help me, thank you very much!
When i finish it i will share it after all.
I've got something like this and its not working
local MainBP = 10327
local ItemBP = 2869
local GoldBP = 2867
elseif (labelName == "ResetBp") then
Walker.Stop()
Container.Close(ItemBP)
wait(1000)
Container.Close(GoldBP)
wait(1000)
Container.Close(MainBP)
wait(1000)
Container.GetFirst():OpenChildren(MainBP)
wait(1000)
Container.GetFirst():OpenChildren(ItemBP)
wait(1000)
Container.GetFirst():OpenChildren(GoldBP)
wait(1000)
Container.GetByName(MainBP):Minimize()
wait(1000)
Container.GetByName(ItemBP):Minimize()
wait(1000)
Container.GetByName(GoldBP):Minimize()
wait(200)
if (HideEquipment) then
Client.HideEquipment()
wait(1000)
end
Walker.Start()
end
The second thing is about waypoints.
I am going to make script for Laguna Island. When i am standing on TORTOISE with teleport i use "Stand North" and he is walking into TP and TPing me to Island but after TP waypoints are stop. Why? How to repair it.
Ohh i almost forgot. Can some1 give me script to follow "nick npc" and then saynpc "hi, travel, yes"
I am usting something like this
elseif (labelName == "TravelGo") then
setWalkerEnabled(false)
delayWalker(5000)
Self.Say("hi")
sleep(math.random(700, 1400))
Self.SayToNpc("peg leg") -- Tutaj wpisz wyspe na ktora sie udajesz.
sleep(math.random(300, 1000))
Self.SayToNpc("yes")
setWalkerEnabled(true)
end
Please help me, thank you very much!
When i finish it i will share it after all.