Author Topic: Looting script refinements - weight check possible?  (Read 1489 times)

0 Members and 1 Guest are viewing this topic.

Offline GemviperTopic starter

  • Sr. Member
  • *
  • Posts: 481
  • Activity:
    0%
  • Reputation Power: 0
  • Gemviper hides in shadows.
  • Respect: +57
  • Referrals: 2
    • View Profile
Looting script refinements - weight check possible?
« on: November 02, 2015, 11:23:35 AM »
0
Scripts are all about refinements aren't they?

I have one that I occasionally use at idocs which focuses on chests. As you know speed matters and so picking up an empty chest or attempting to pick up a chest that is too heavy is time lost. I know that checking weight is simple but In my testing I'm having trouble making that check a quick one, quick being relative as in I can tell I've got a small delay happening. I'd like to speed it up, what's the fastest way to do a quick weight check after a FINDITEM G_2 but before any drag that includes an ignore if the chest fails the check ?

I've got a few examples that work but don't feel efficient enough, I'll post them if a best effort is needed. This should be a simple question but I've looked at a lot of scripts and tried several things on my own and am not happy with the results yet so... suggestions?

edit: what I'm finding challenging is a fast weight check for chests that is "more than xx stones but less than xxx stones". I am already performing an event property but filtering by weight isn't something I've done yet.
« Last Edit: November 02, 2015, 12:59:22 PM by Gemviper »

Tags: