Download
(3Kb)
Download
Updated: 11-17-08 12:10 PM
Pictures
File Info
Updated:11-17-08 12:10 PM
Created:unknown
Downloads:3,014
Favorites:21
MD5:

TargetBlock

Version: 1.6
by: mikma [More]

* WOTLK UPDATE! *
The frame now has a name 'TargetBlockFrame' !
You can now use it in a macro, in example tagging mobs in those stupid overcrowded places:

Macro:

Code:
/click TargetBlockFrame
/cast Moonfire
Adds a block on your screen which you can use to target players, pets, mobs, totems...

Uses a macro '/targetexact (name you pick)', so it should always find the correct person to target if he's in range. If not, your target will not be changed.

Has a toggleable 'Revenge' feature, which automatically adds the person/pet/totem that killed you to TargetBlock.
Revenge disabled in the Battlegrounds.

There is also a keybind to Hide/Show the block.

Usage:
- Rightclick to set target
- Shift+Rightclick to clear target
- Ctrl+Rightclick to set custom target
- Leftclick to target
- Shift+Leftclick to toggle lock
- Ctrl+Leftclick to toggle revenge (revenge disabled in BG)

Example A:
- You get killed in contested territory by player called 'James'. Addon will enter his name in the block. Later you click the block with leftclick, it will try to target 'James'.

Example B: (as shown in the pictures)
- You are doing a quest with stealthed mobs. Shift+Rightclick the block to get a popup where you type 'Fen Creeper'. Now when you are walking around Wetlands, and hear a stealth-sound, you leftclick the block and Fen Creeper is being targeted (If it was Fen Creeper to make the stealth-sound..).

1.6:
- The frame has now a name 'TargetBlockFrame'
- .toc changed for WOTLK

1.5:
- Renamed the SavedVariable from TargetBlockDB to TBDB. This is to reset your position because of my mistake in default positioning (Docked to TargetFrame. People not using default Unitframes had a problem here)
- TargetBlock will now be positioned in middle of screen if you don't have position saved
- Insets of TargetBlock changed, there was a small gap between backdrop and border

1.4:
- Data of Revenge (not the current target) gets cleared now everytime you enter combat. This is to eliminate the cases where TargetBlock tells you someone who did damage to you long time ago killed you in a fight where he didn't harm you.
- Globals removed (thanks Cladhaire)

1.3:
- I noticed that there might be a bug with the revenge, so I recoded it to add your killer into the block after your regeneration is enabled.

1.2:
- Added BG check for all arenas

1.1:
- Disabled targetchange in combat. This is not allowed by Blizzard
- Recoded the targeting code, now it works the way it should have from the beginning
- Changes some clicks
- Added better positioning code

1.0:
- Release
Optional Files (0)


Post A Reply Comment Options
Unread 07-20-11, 07:59 PM  
baldricinoz
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
hi Mikma, any chance you could fix this addon? it doesnt seem to work.
Don't see any error, just the target block frame is not visible.
Report comment to moderator  
Reply With Quote
Unread 11-01-10, 07:09 AM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 267
Uploads: 23
Originally posted by Auraka
Has this mighty addon been abandoned? For the most part it's kept working thru patches, but 4.0.1 seems to be giving me errors. Just checking in. Thanks for the good times in any case
No, it's not abandoned. No-one has reported it before you as being broken so I assumed it works :P
Report comment to moderator  
Reply With Quote
Unread 10-31-10, 03:04 PM  
Auraka
A Kobold Labourer

Forum posts: 0
File comments: 74
Uploads: 0
Has this mighty addon been abandoned? For the most part it's kept working thru patches, but 4.0.1 seems to be giving me errors. Just checking in. Thanks for the good times in any case
Report comment to moderator  
Reply With Quote
Unread 12-26-09, 08:12 AM  
blankStare
A Kobold Labourer

Forum posts: 1
File comments: 82
Uploads: 0
thanks

just wanted to say thanks. This addon is very useful, esp for things like the the achievement Bros before ho, ho. where you have to find named ncps for example.
Report comment to moderator  
Reply With Quote
Unread 11-23-08, 02:35 PM  
Auraka
A Kobold Labourer

Forum posts: 0
File comments: 74
Uploads: 0
Originally posted by Mikma
Working as intended

Snip from description:
Hmmm, Well I'll be. I always took "toggle" to mean use. As in triggering the /click TargetBlockFrame command.

/whistle

Carry on, nothing to see here.
Report comment to moderator  
Reply With Quote
Unread 11-21-08, 02:32 PM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 267
Uploads: 23
Originally posted by Auraka
In any case, not necessarily a bug per se. But when using the key binding the target block toggles between being visible and not. Just fyi.
Working as intended

Snip from description:
There is also a keybind to Hide/Show the block.
Last edited by mikma : 11-21-08 at 02:35 PM.
Report comment to moderator  
Reply With Quote
Unread 11-21-08, 10:19 AM  
Auraka
A Kobold Labourer

Forum posts: 0
File comments: 74
Uploads: 0
Originally posted by mrdummy
I thought you can use TAB key for target switching or detecting around?

What makes this addon more useful compared to TAB-target selecting?
That's one heck of a name there...............

Anyways, to answer your question. If you'd bothered to read the description...

Uses a macro '/targetexact (name you pick)', so it should always find the correct person to target if he's in range. If not, your target will not be changed.
So, yeah. Tab targeting doesn't do that. kkthx

In any case, not necessarily a bug per se. But when using the key binding the target block toggles between being visible and not. Just fyi.
Report comment to moderator  
Reply With Quote
Unread 11-18-08, 01:07 PM  
mrdummy
A Deviate Faerie Dragon

Forum posts: 14
File comments: 31
Uploads: 0
I thought you can use TAB key for target switching or detecting around?

What makes this addon more useful compared to TAB-target selecting?
Report comment to moderator  
Reply With Quote
Unread 12-06-07, 05:43 PM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 267
Uploads: 23
Originally posted by Shaktar
Just downloaded your mod to try it out. Your frame appears in the center of my screen unlike what is shown in your screenshot. I cannot figure out how to move it. Left click to drag, right click to drag, alt-click, shift-click, control-click, nothing works to move it. Your instructions do not say how to move it.

I suggest having a more obvious way of moving it and documenting how to move it.
1. - this page:

Usage:
- Rightclick to set target
- Shift+Rightclick to clear target
- Ctrl+Rightclick to set custom target
- Leftclick to target
- Shift+Leftclick to toggle lock
- Ctrl+Leftclick to toggle revenge (revenge disabled in BG)

2. - tooltip when mouseovering:

- Rightclick to set target
- Shift+Rightclick to clear target
- Ctrl+Rightclick to set custom target
------------------------------------------------------------------
- Leftclick to target
- Shift+Leftclick to toggle lock
- Ctrl+Leftclick to toggle revenge (revenge disabled in BG)

EDIT:
Oh, after this just leftclick down and drag it where you want ^^
Last edited by mikma : 12-06-07 at 05:49 PM.
Report comment to moderator  
Reply With Quote
Unread 12-05-07, 07:29 AM  
Shaktar
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 27
Uploads: 3
Just downloaded your mod to try it out. Your frame appears in the center of my screen unlike what is shown in your screenshot. I cannot figure out how to move it. Left click to drag, right click to drag, alt-click, shift-click, control-click, nothing works to move it. Your instructions do not say how to move it.

I suggest having a more obvious way of moving it and documenting how to move it.
Report comment to moderator  
Reply With Quote
Unread 12-02-07, 07:25 PM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 267
Uploads: 23
1) Tooltip and hiding it:
- It actually hides in combat and becomes visible again when combat ends. I can add a slashcommand for permanent toggle.

2) Slashcommand for changing target:
- Didn't even think that people would want to type stuff in ChatEditBox. I'll add it.

3) Targetlist
- This is a good one actually, but that requires a great amount of info about bosses and targets to work. I can't get all of them by myself since I don't raid that much the highend instances.

4) keybind for targeting
- How could I miss this one! O_o Yeah, I'll try to find out a nice way to do it.

You two did give quite interesting ideas. Thanks
Please notice that actually developing these may take a while or another, I'm currently leveling a new char and try to keep my addons bug-free between playsessions
Report comment to moderator  
Reply With Quote
Unread 12-02-07, 03:30 PM  
Wowgamer233
A Flamescale Wyrmkin
 
Wowgamer233's Avatar

Forum posts: 126
File comments: 66
Uploads: 0
Re: Re: Hmmm

Originally posted by Mikma
Right, my bad. You propably are using some 3rd party Unitframes and this one docks ontop of TargetFrame. I'll fix that and post a new version online.
Excellent ! Many thanks for the update. I can give it a try-out now

First impression is that the tooltip is, while important and informational, gonna get in the way. Can it be optional ? i.e. /targetblock toggletooltip

Thanks in advance.

EDIT : Oh, being able to /targetblock character

...where "character" is a specific character / vendor, etc would also be very cool.
__________________
Erm, yes, I would like to get mana back before you start tanking again...
No healer mana = dead tank
Last edited by Wowgamer233 : 12-02-07 at 03:34 PM.
Report comment to moderator  
Reply With Quote
Unread 12-02-07, 07:55 AM  
BeKay
A Kobold Labourer

Forum posts: 1
File comments: 19
Uploads: 0
Would like 2 additional options

To make this addon truly awesome.

1)
Add a list to which a user can add pre-defined targets and select the current active target from the list.
Useful for adding encounter specific targets, eg. Demon Chains @ Illhoof, Spitfire Totem @ Fathom-Lord Karathress, Toxic Spore Bat @ Vashj, Corrupted Lightning Totem @ Halazzi, and so on and so on.

2)
Might have been an oversight in the addon description, but a keybinding for activating the actual targeting...
Report comment to moderator  
Reply With Quote
Unread 12-01-07, 09:02 PM  
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view AddOns

Forum posts: 45
File comments: 267
Uploads: 23
Re: Hmmm

Originally posted by Wowgamer233
I installed this but cannot see the frame / object / targetblock. Any ability to center in screen and then move it from there ?
Right, my bad. You propably are using some 3rd party Unitframes and this one docks ontop of TargetFrame. I'll fix that and post a new version online.
Report comment to moderator  
Reply With Quote
Unread 12-01-07, 12:52 PM  
Wowgamer233
A Flamescale Wyrmkin
 
Wowgamer233's Avatar

Forum posts: 126
File comments: 66
Uploads: 0
Hmmm

I installed this but cannot see the frame / object / targetblock. Any ability to center in screen and then move it from there ?
__________________
Erm, yes, I would like to get mana back before you start tanking again...
No healer mana = dead tank
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: