Forum Settings
       
Reply To Thread

Where did I go wrong in this macro?Follow

#1 Jun 12 2008 at 3:24 PM Rating: Decent
41 posts
First, how the macro used to be:

#showtooltip Hemorrhage
/dismount
/cast [nostealth] stealth
/cast [combat] Hemorrhage

Fairly simple. If I'm unstealthed, I stealth (which makes my action bar change to stealth setting. Hitting the same key again, activates my cheap shot macro). But if I'm in combat, I Hemo my target. Worked like a charm....unless I didn't have enough energy for Hemo or I just ran into a Flare. In those cases I just stood there, looking silly.

So I changed it a bit:

#showtooltip Hemorrhage
/dismount
/cast [nostealth] stealth
/cast [combat] Hemorrhage
/stopmacro [stealth]
/startattack [nostealth]

In theory, the macro should now stop if I am still stealthed after checking whether or not to Hemo. But it doesn't. Also, /startattack is triggered regardlessly. If I am stealthed, I automatically target a foe (if one isn't targetted already) and try to attack him ONCE. If he's too far away, the attempted attacks stop after one try. If he's in my face, I just ruined my own attempt to stealth.

When I'm having most problems with this, is for instance after blinding an opponent, then waiting until I leave combat. Hit my key, and enter stealth, but also fire this ONE attack against my target just after.

Am I missing something? Can it be contributed to some kind of lag? Or is /stopmacro [stealth] and /startattack [nostealth] simply bugged?
#2 Jun 13 2008 at 3:58 AM Rating: Decent
41 posts
Ah,

I figured it out. Since the macro runs through all the commands first and THEN executes them, /stopmacro [stealth] will only work if I was stealthed when/before I pressed the macro. Back to the thinking box....

Edited, Jun 13th 2008 1:58pm by Lillepest
#3 Jun 13 2008 at 10:36 AM Rating: Good
***
2,680 posts
Also note that you can combine those /cast lines.

/cast [stealth] Hemorrhage; [nostealth] Stealth

I use the same for my Stealth/Vanish one. Might save you a few from the character count.
#4 Jun 14 2008 at 2:37 AM Rating: Decent
#show hemorrhage
/dismount
/startattack
/cast [nostealth] stealth
/cast [combat] Hemorrhage

Above macro works.
#5 Jun 15 2008 at 6:40 AM Rating: Decent
41 posts
Kavekk wrote:
#show hemorrhage
/dismount
/startattack
/cast [nostealth] stealth
/cast [combat] Hemorrhage

Above macro works.


Actually, it doesn't. It still fires off an attack before trying to enter stealth. At the moment, I can't seem to find a way around it, so I'm using

#showtooltip Hemorrhage
/dismount
/cast [nostealth] stealth
/cast [combat] Hemorrhage
/stopmacro [stealth]
/startattack [combat]

which works for all situations except when I am unable to stealth but not yet in combat (ie. just ran through a flare). Then I'll have to press my Ghostly Strike key instead, to avoid standing there staring my enemies to death....
Reply To Thread

Colors Smileys Quote OriginalQuote Checked Help

 

Recent Visitors: 133 All times are in CST
Anonymous Guests (133)