1. #1
    Herald of the Titans iLive's Avatar
    15+ Year Old Account
    Join Date
    Jan 2009
    Location
    Denmark
    Posts
    2,556

    Macro to only use potion when inside combat/raid

    Hi, is it possible to make a macro for my potions to only be used when I am inside combat... or even better when inside raid only?

  2. #2
    Deleted
    Code:
    #showtooltip
    /use [group:raid]Golemblood Potion

  3. #3
    Quote Originally Posted by Treeston View Post
    Code:
    #showtooltip
    /use [group:raid]Golemblood Potion
    To add onto that
    Code:
    #showtooltip
    /stopmacro [nocombat]
    /use [group:raid]Golemblood Potion
    Quote Originally Posted by Count Zero View Post
    Ice cream sales increase in the summer over the rest of the year (this is established fact). The number of drownings increase in the summer over the rest of the year (this is also established fact). By your logic ... ice cream causes people to drown.

  4. #4
    Herald of the Titans iLive's Avatar
    15+ Year Old Account
    Join Date
    Jan 2009
    Location
    Denmark
    Posts
    2,556
    Amazing, ty guys!

  5. #5
    Deleted
    I left off the nocombat on purpose. It prevents prepotting.

  6. #6
    Quote Originally Posted by Treeston View Post
    I left off the nocombat on purpose. It prevents prepotting.
    Would it be possible to do a a button 1 / button 2 macro where button 1 would be in combat / raid only and button 2 would allow prepotting? I'm thinking of how to prevent the accidental potting. ya know, umm, not that I would ever do that.

  7. #7
    Deleted
    Code:
    #showtooltip Golemblood Potion
    /stopmacro [nogroup:raid]
    /use [btn:2][btn:1,nocombat]Golemblood Potion

  8. #8
    Quote Originally Posted by Treeston View Post
    Code:
    #showtooltip Golemblood Potion
    /stopmacro [nogroup:raid]
    /use [btn:2][btn:1,nocombat]Golemblood Potion
    Code:
    #Showtooltip
    /use [group:raid, combat] Potion'sName
    the littler the script the better

  9. #9
    Deleted
    Which still does not allow prepotting...

  10. #10
    Quote Originally Posted by Talentbdf View Post
    Code:
    #Showtooltip
    /use [group:raid, combat] Potion'sName
    the littler the script the better
    Yup, remove function from the macro to shorten it...

  11. #11
    Deleted
    Why remove function to shorten it? It doesn't improve the macro in anyway. How about you remove "/use [group:raid, combat] Potion'sName" to shorten it too?

    I'd sooner have a modifier instead of button clicks for things that I have to time carefully especially if that action has to be used in combat. Clearly this still works with mouse+alt click if that's how you roll.

    Code:
    #showtooltip Golemblood Potion
    /use [mod:alt][group:raid,combat]Golemblood Potion
    I might accidentally press a button/hit a keybind, but rarely do I accidentally hit it together with alt/ctrl
    Last edited by mmoc8d1df16656; 2011-03-11 at 10:28 AM.

  12. #12
    Quote Originally Posted by Treeston View Post
    Code:
    #showtooltip Golemblood Potion
    /stopmacro [nogroup:raid]
    /use [btn:2][btn:1,nocombat]Golemblood Potion
    Thank you Treeston. It is perfect. Allows prepotting AND prevents the accidental click (for me at least since accidental right click doesn't happen to me.

  13. #13
    Only outside of combat is pretty bad when you need prepotting, isn't it?

  14. #14
    Quote Originally Posted by ChildeRoland View Post
    Only outside of combat is pretty bad when you need prepotting, isn't it?
    That's why right clicking doesn't check for combat in Treeston's macro.

    off-topic: excellent book choices

  15. #15
    Herald of the Titans iLive's Avatar
    15+ Year Old Account
    Join Date
    Jan 2009
    Location
    Denmark
    Posts
    2,556
    I am a healer, and I don't need prepotting. >_> And I rather not use a SP one, since mostly you don't need more healing in the first 15 seconds.

  16. #16
    Deleted
    Sinestra would like to have a word with you. Al'akir, too.

  17. #17
    Herald of the Titans iLive's Avatar
    15+ Year Old Account
    Join Date
    Jan 2009
    Location
    Denmark
    Posts
    2,556
    Quote Originally Posted by Treeston View Post
    Sinestra would like to have a word with you. Al'akir, too.
    See these are the types of comments that makes MMO-C nice.

    +1 from here. :]

Posting Permissions

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