PDA

View Full Version : help with pick use



gondacki
02-11-2013, 12:21 AM
i want to know how can i use pick in waypoints?

Hendy
02-11-2013, 12:31 AM
Not unless you use a one-liner

soul4soul
02-11-2013, 12:35 AM
using inline scripting, change x,y,z to the coords where you need to pick.

Self.UseItemWithGround(Item.GetID("pick"), xxxxx, yyyyy, z)
You have to use item.getid this function still doesnt accept item names.

gondacki
02-11-2013, 12:36 AM
thanks

gondacki
02-11-2013, 02:15 AM
using inline scripting, change x,y,z to the coords where you need to pick.

Self.UseItemWithGround(Item.GetID("pick"), xxxxx, yyyyy, z)
You have to use item.getid this function still doesnt accept item names.


i made it and don't work

soul4soul
02-11-2013, 02:51 AM
maybe try putting a delayWalker?
delayWalker(2000) Self.UseItemWithGround(Item.GetID("pick"), xxxxx, yyyyy, z)

I use this code in lua and it works


elseif (labelName == "Pick") then
pick= "pick" --variable name encase they are using a tool
Self.UseItemWithGround(Item.GetID(pick), 33015, 31547, 4)

of course neither of these have fail checks but they are easy to add after.