Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

lockpicking
#5

Thats because injection isn't supposed to use targets like that... It's:

Target
Action

Targets in injection work this way. You set it, then next action will be used on it...
Imagine a nuclear missle. You have to set the destination point first, only then you launch it. Wouldn't make much sense to do it way around. Or well, try to open a door with a key without an idea where keyhole is...

Quote:uo.exec("useobject 'key'")
wait(500)
uo.waittargetobject("box")

Here you even let it wait 500ms before setting actual target.. Why?

wait(500)
uo.waittargetobject("box")
uo.exec("useobject 'key'")

That is how these three lines should look. And time delays aren't really reliable, better check journal, very few commands to learn actually..


Messages In This Thread
lockpicking - by sm0ke - 04-11-2012, 01:13 PM
lockpicking - by Xyn - 04-11-2012, 01:48 PM
lockpicking - by sm0ke - 04-11-2012, 06:56 PM
lockpicking - by sm0ke - 04-11-2012, 07:26 PM
lockpicking - by Gang - 04-12-2012, 04:17 PM
lockpicking - by sm0ke - 04-12-2012, 06:26 PM
lockpicking - by Mael - 04-12-2012, 07:10 PM
lockpicking - by Gang - 04-14-2012, 08:31 PM
lockpicking - by Mael - 04-14-2012, 08:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)