Not logged inThe Guild of Free Traders - Discussion Forum
Forum The Guild of Free Traders Help Login
Up Topic Public Area / Plugins / TargetClosest: aim at the closest object with a given name
- By Rock Hermit (Councilor) Date 2022-02-14 06:59
Find closest target whose name matches the provided string.

Basic usage:

In your Lua console (press backtick) type:

    /closest Orun

to target the nearest Orun Collector, for example.

Intermediate usage:

If you have something you always want to target, like Arklan Guardians, then
create an alias and then bind it to a key (such as 'A', for "Arklan").
Again, in your Lua console:

    /alias target_closest_arkie "closest Arklan"
    /bind A target_closest_arkie

Advanced usage:

Have the UI ask you what you want to target.  Once more, in the Lua console:

    /alias ask_closest "prompt closest"
    /bind C ask_closest

Now hit the 'C' key, and a prompt should show up at the bottom of your chat
area.  Type whatever you want to target, and it should automatically find the
closest and target it for you.

Super-Advanced Usage:

Once you've killed that bot you targeted, run `/closest` again (or hit the bind) and
it'll automatically target the *next* closest thing with the name.
Attachment: TargetClosest.zip - TargetClosest.zip (1k)
- By tsreknor (Commander / Trident Captain) Date 2022-02-14 08:07
Thanks RH. Are the commands case sensitive?

-- tsreknor
- By Rock Hermit (Councilor) Date 2022-02-14 22:31
Yes.
Up Topic Public Area / Plugins / TargetClosest: aim at the closest object with a given name

Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill

Net::CIDR::Lite module not available.