| | #1 |
| Administrator Join Date: Jun 2009 Location: USA
Posts: 6,768
| Quick question: Is it possible for a macro or an addon to target a player who has the lowest health of out a list of players? So some pretend code for example: Code: PlayerA 100% hp PlayerB 100% hp PlayerC 75% hp PlayerD 100% hp Automatically target player with lowest HP PlayerC is targeted |
| | |
| | #2 |
| Junior Member Join Date: Jul 2009 Location: Canada
Posts: 1
| Here is a post on the Offical WOW forums talking about it. World of Warcraft - English (NA) Forums -> Is this possible (target lowest health)? not sure if it still holds any value as the forum post is from 2007 This is for a the macro...not sure about addons Cheers Last edited by Thesyder; 07-21-2009 at 04:05 PM. Reason: clarifying that the post is for Macros and not Addons |
| | |
| | #3 |
| Administrator Join Date: Jun 2009 Location: USA
Posts: 6,768
| Yea I did see that post but it really doesn't go to far as to answering the real question, or trying to figure it out. So actually to clarify, I do not need to target the lowest health player, only to have a macro/addon know when a player in a list is the lowest health. If it can do that, then that would do what I need, then I could 1 button press to target/heal that, therefor actually doing the action to target/heal, as long as the macro/LUA can determine who needs to be healed. Know what I mean? Any way to do that peeps? |
| | |
| | #4 |
| Member Join Date: Jul 2009
Posts: 37
| I guess the only way to do that would be to check the health of each character and if it's below a certain % then heal that target. So you'd first have it check personA's health and if it's not below a certain % then check personB's health etc. then when it gets to one below that % cast the heal on them. That's the only way I could think to do it although it's not exactly what you're looking for. |
| | |
| | #5 |
| Super Moderator Join Date: Jul 2009
Posts: 409
| It is not possible to preform a cast based on a /run or /script There is no way to heal the lowest health target. If you want i can write a mini addon for you, which automaticly targets the lowest health partmember with a single macro click. then u can heal this target |
| | |
| | #6 |
| Administrator Join Date: Jun 2009 Location: USA
Posts: 6,768
| Ooh! Okay so here is what I'm looking to do. I want a big fat button in the middle of my priests screen, a button I can resize, that when I click, it will cast a heal spell on the lowest hp member of the group, and the group is set by names of characters versus party list or raid list. PLZ! |
| | |
| | #7 |
| Super Moderator Join Date: Jul 2009
Posts: 409
| Do u want it to work on the lowest ammount of hp or lowest percentage: player 1: 5000/20000 (25%) player 2: 4000/12000 (33%) situation like that Also, do u want it to check for all the raid, when u are in a raidgroup? edit: and also, do u want this to heal ur pets aswell :P and do u want these pets to be the same piority as characters? Last edited by Chamassa; 07-21-2009 at 05:53 PM. |
| | |
| | #8 |
| Member Join Date: Jul 2009
Posts: 32
| Not possible and if you find a way to do it, you account can be action ed. Falls under blizzard's stance on automation. The stance on targeting is pretty strict, and spawning addition unitframes (or changing them)while in combat is stricter still. You can't even target things by raid icon in a macro, only assign icons. The only legal way to do it would be an out of combat /script(gotta love protected functions), or just making low hp people more obvious, like putting a aura around their unit frame, tossing a /rw with their name in it, having your char say the name in any chat you want or perform an emote, play a sound(plenty of addons that already do this, including jamba) or possibly slapping them with a raid icon. Link to general Bliz stance on UI elements and combat choices. World of Warcraft - English (NA) Forums -> UI mods and the Burning Crusade Last edited by Arithin; 07-21-2009 at 06:13 PM. |
| | |
| | #9 |
| Junior Member Join Date: Jul 2009 Location: Australia
Posts: 16
| Healbot (the version before continued) used to allow you to check for the lowest health party member and prioritise heals; however, since 2.x autotargeting on health % etc is now deemed to be automation and is not permitted by blizzard as a ui addon function. Checkout - HealBot Continued and more specifically http://look4me.endoftheinternet.org/...hp?op=view&t=8 Healbot is still good though for it gives you a visual marker and you can assign a click to target the person you click on in the healbot ui and a different click combo to cast a heal on that target or alternatively click to heal the person who's name you're clicking on. |
| | |
| | #10 |
| Administrator Join Date: Jun 2009 Location: USA
Posts: 6,768
| My interpretation on Blizzard's usage of their macro/LUA system is... ...I disagree with this being against any rule or having any relationship with actionable automation in any fashion. If you can perform an action utilizing in-game macros or the LUA development system, then it is impossible to do anything against the rules of the game. If Blizzard decides that a certain macro/LUA function that they have added needs removing, they simply remove it. As long as you can do it with the tools Blizzard provides, the it is perfectly acceptable. If they don't allow something in the macro/LUA system, then they wouldn't have put it in there in the first place. Their existing macro/LUA system allows automation for sure. The point is that automation is OK as long as it utilizes Blizzards tools. Example: /target Fredflinstone is a command used to automate the targeting of Fredflinstone. Is it automation? For sure, it saves you from manually moving the mouse and clicking. Is it acceptable? Absolutely, because utilizing Blizzards macro/LUA system to automate is perfectly fine. So back to the OP (me!) topic. Any ideas? |
| | |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help: target your target's focus macro | orianthi | World of Warcraft - Macros, UIs, Mods, Addons | 11 | 06-28-2010 09:35 AM |
| Ground Target macro for Mages? | Heartspark | World of Warcraft - Macros, UIs, Mods, Addons | 21 | 01-12-2010 09:43 AM |
| Melee target interaction macro help. | WhiteDragon | World of Warcraft - Macros, UIs, Mods, Addons | 10 | 12-30-2009 02:03 AM |
| Super Duper Macro - addon beyond 255 | Saladin | World of Warcraft - Macros, UIs, Mods, Addons | 6 | 08-11-2009 03:48 AM |
| Healer macro to cast target of target heals | Xasta | World of Warcraft - Macros, UIs, Mods, Addons | 5 | 07-03-2009 09:27 PM |