Help - Search - Members - Calendar
Full Version: Batclient target selection
BatMUD > BatMUD forums > Batclient
Niliz
Copied from the in-game forums, very interesting for bat client users:


From: Amarth
Posted: 18:40 09/03/2008
Level: 600 [Wizard]
Age: 8y, 15d, 16h, 29m, 15s



As you know, Batclient shows your target and it's condition in the small h
ealthbar window. Several people seem to peculiarly like this about the
client.

Besides this, I'm starting to think the more advanced targeting stuff has
slipped past several Batmudders, so I will post about it:


If you left-click on an occupied slot in the party frame you will "select"
that player and put the name of the player into a global variable called
"partyTarget".

To tell the person you have clicked on you can use:

"tell @partyTarget your message".

With this variable you can assign keys or macros to perform certain actions
against the selected party member. For example, you could set F1 to heal
selected member and when you see their health bar go down, you'd just click
on their slot and press F1. Of course, the target is remembered for repeated
healing until you click on someone else.

There are also two more global variables are available. "@selectedTarget",
which will be set whenever you click on stuff in the main text window for
example, and "@latestTarget" which will be set whenever you click somewhere
both in the party frame and in other windows.


Amarth Shadowstring
Niliz
Now as a question to Amarth:

Would it be possible to use the numpad-keys for party targetting? Targetting with the mouse-pointer is nice, but I personally prefer to use keyboard only.

Shouldn't be too hard to make those keybindings myself if there's a method available to query the party status window, like:

String getPartyMemberName(int column, int row) {
// return the name of the member at party position column.row
}

Maybe such a function is available already, but I couldn't find documented features of the party window.

Cheers,

Niliz.
Amarth
Now that's an interesting idea, as mudders generally shun mice.

The 'functionality' is there as one can assign the numpad-keys for certain functions via the keybindings-menu, but alas, I think you cannot do *this* @partyTargetting through that - yet.

Will add this to the Feature track (to be included in the next version).
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2025 Invision Power Services, Inc.