Close
Page 1 of 2 1 2 LastLast
Showing results 1 to 10 of 13
  1. #1

    Default Focus Checking Question

    Using focus for the basis of most of macros, I've been unable to find something that checks 'what' my focus is set to.

    Basically, I would like to set a macro on 3 hunters I'm running that follows: [If I'm the focus] Hunter's Mark; Otherwise target=focustarget

    Looking over the conditionals at WoWWiki, there were some things that were close but not quite what I was looking for. I was wondering if 'player' could be used for the test. While modifier:shift checks for the shift button being pressed, would 'focuslayer' work at all? (I figure it's not likely).

    Has anyone else run into this, or do you all just have regularly assigned rolls to specific toons?

    Thanks for your time.

  2. #2

    Default

    Can you explain in more detail what you want your macro to do? I'm not really clear what the target=focustarget part of the Hunter's Mark thing is supposed to do.
    AETeam Suramar ~ aeara ~ aebra ~ aecra ~ aedra ~ aeera

  3. #3

    Default

    If your just trying to get your assisting toons to target what you have targeted and put a hunters mark on them then try:

    /target [target=focustarget]
    /cast hunter's mark

    You can't put "conditionals" such as "otherwise" in your macro's, but like Aeth said, I'm not sure what your trying to do there.
    Owachi (Druid), Rhodrage(Paladin), Tenitis (Warlock), Rhodigan (Mage), Vhoden (Shaman)

  4. #4

    Default

    Yeah if you're trying to place a hunter's mark on whatever you have targeted, do:

    /cast [target=focustarget] Hunter's Mark

    Even if you have yourself focused, that still works fine. If you want something more like "if I have a hostile target, cast hunter's mark on it, otherwise cast it on my focus's target", you can do this:

    /cast [harm,nodead] Hunter's Mark; [target=focustarget] Hunter's Mark

    But I'm not sure exactly what you want to do.
    AETeam Suramar ~ aeara ~ aebra ~ aecra ~ aedra ~ aeera

  5. #5

    Default

    Sorry if I wasn't clear, the above stuff was more notional, rather than syntactically correct.

    What I'm trying to do is change the function of a macro based on who has focus at the time.

    For instance: With Focus set to H1 (H1 == Hunter1), when I push the '3' key, H1 casts Hunter's Mark, while the others (H2&H3) to set '/target focustarget'

    However, if I change the Focus (either when someone dies, or I decide H2 needs to be the leader, after the focus change, H2 would cast the Hunter's Mark, while H1 & H3 would '/target focustarget'

    Basically that when a hunter detected that he was the focus, he would cast hunter's mark while everyone else assisted off of him.

    More Pseudo-Code like:
    /cast [<if player is the focus>] Hunter's Mark; <if player is not the focus> target focustarget

    I'm getting the idea, that the above conditional will not be possible, and that I'll have to have set assigned roles based on the character or enable row/role switching upon focus changes using Bongos or something. I've been seeing that there are a limited number of conditionals, and didn't happen to notice any 'equalities', and any that seemed to use the keyword 'player' seemed to be setting the target=player for self buffs/healing.

    I was hoping that there might be some equality check for 'player==focus' that might fall in the form of 'player:focus' somewhat like the 'modifier:shift' test.

    Thank you for your time.

    -S

  6. #6

    Default

    You can sometimes check if you are the focus/target of the macro. If you are in a party, the "party" conditional will be true for all party members but yourself, same with "raid".
    Tamas, Inirra, Jamac, Cereixa, Tetria

    http://www.youtube.com/tetriaeiou

  7. #7
    Member BobGnarly's Avatar
    Join Date
    Nov 2007
    Location
    Somewhere out there.
    Posts
    555

    Default

    Each line in the macro has to be homogeneous wrt the effect. IOW, you can't either cast hunters mark or assist because the root of the command is either "/cast" or "/assist", etc.

    I also don't think there is any way to make the kind of decision you are looking for. I wish there was, cause I'd like to do a similar thing with party leader.

    Assuming the non-focus party members don't have a target, and assuming the focus has itself as focus (is that even possible), you might be able to do something like:

    /cast [harm] Hunter's Mark
    /target focustarget

    So the cast won't happen for anybody but the focus (since they don't have a target), and everybody will target the focus target (including the focus).

    I'm sure you know this, but you can also get away from having to "/target focustarget" by just putting [target=focustarget] in your attack/cast macros. If you do this, and if you are running keyclone, you can just put hunter's mark on the 3 key on each client and put "3" in the do-not-pass list. I do something similar in a couple of places in my setup.
    No matter where you go, there you are.

  8. #8
    Member BobGnarly's Avatar
    Join Date
    Nov 2007
    Location
    Somewhere out there.
    Posts
    555

    Default

    Quote Originally Posted by 'Nepida',index.php?page=Thread&postID=37210#post37 210
    You can sometimes check if you are the focus/target of the macro. If you are in a party, the "party" conditional will be true for all party members but yourself, same with "raid".
    I'm not sure I follow you, but I'm interested in this possibility. What are the conditions in which I can use a "party" conditional and NOT have it return true for myself (given that I am in the party, of course).
    No matter where you go, there you are.

  9. #9

    Default

    Thank you both for ideas pertaining to this. I'm very new to multi-boxing and keyclone, so I thank you for all your advice. I had decided against using [target=focustarget] for a couple of reason:
    Firstly, I didn't want to have to make a macro for every attack to do that (I'm probably missing something simple).
    Secondly, I wanted the flexibility to have a non-leader toon begin attacking a possible adding Mob. (Once again, most likely my rookie thoughts and I'm missing the bigger picture)

  10. #10
    Member Ughmahedhurtz's Avatar
    Join Date
    Jul 2007
    Location
    North of The Wall, South of The Line
    Posts
    7169

    Default

    You cannot do conditionals in macros outside of the ones blizzard provides. You can do some witchery to sort of "blunt force" check things by just stacking the commands so the most important one fails last (if that makes sense) but that's as close as you can get to what I think you're trying to do.

    http://www.wowwiki.com/HOWTO:_Make_a_Macro#Conditionals
    Now playing: WoW (Garona)

Similar Threads

  1. Just checking in about 60 level gifting
    By Rowdysattva in forum General WoW Discussion
    Replies: 14
    Last Post: 02-23-2009, 05:26 PM
  2. Back to checking
    By eagleeyee in forum General WoW Discussion
    Replies: 0
    Last Post: 12-06-2008, 03:17 PM
  3. Two Box One PC Focus Question
    By lamagra in forum New Multi-Boxers & Support
    Replies: 1
    Last Post: 08-24-2008, 10:47 PM
  4. Another newbie checking in! :-)
    By Dereath in forum New Multi-Boxers & Support
    Replies: 3
    Last Post: 03-21-2008, 12:41 PM
  5. Hello D-B, new 3-box'n checking in!
    By Crazychip in forum New Multi-Boxers & Support
    Replies: 9
    Last Post: 03-18-2008, 08:11 PM

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •