Single mashable stealth / unstealth button

Got World of Warcraft news? Seen something cool? Share it here.

Moderator: Guild Shogun

Heeuge
Posts: 2271
Joined: Mon Jan 30, 2006 10:26 pm
Location: Location: Location.
Contact:

Single mashable stealth / unstealth button

Post by Heeuge »

Righty, I've got a mashable stealth macro:

Code: Select all

/cast [stance:0] stealth


and would like to replace my standard stealth button with it. However as it stands I can't unstealth using my mashable macro. I can create another macro that changes the code ^ to be stance:1 to unstealth me but I want a single button! What I'd like is to have left click = stealth & right click = unstealth.

I've tried:

Code: Select all

/cast [button:1] [stance:0] stealth; [button:2] [stance:1] stealth


but it seems to have removed the mashability of the stealthing.... if I press it again after stealthing I unstealth. denied!

What am I missing? (note I've not messed with macros before :oops: )
Commando
Shogun on Sabbatical
Posts: 5646
Joined: Tue Jan 31, 2006 12:38 am
Location: Manchester

Post by Commando »

I think you need to use commas instead of separate bracketed statements:

Code: Select all

/cast [button:1, stance:0] stealth; [button:2, stance:1] stealth

Your macro was probably saying "If button 2 OR stance 1 then stealth" rather than "If button 2 AND stance 1 then stealth". But I might be wrong, never done stance macros before.
Image
Image
Image
Commando, Scytale, Leto, Yueh, Thufir, Chani
Septih
Rick Roller
Posts: 5136
Joined: Mon Jan 30, 2006 8:00 pm
Location: Macclesfield, UK

Post by Septih »

Ian has it right, multiple conditionals should be seperated by a comma inside the brackets
Heeuge
Posts: 2271
Joined: Mon Jan 30, 2006 10:26 pm
Location: Location: Location.
Contact:

Post by Heeuge »

coolio, I'll try again when I get home.

Cheerso!
Juan
Posts: 1743
Joined: Fri Aug 25, 2006 2:25 am

Post by Juan »

Keybind for stealth is ftw. ;)

And why do you need a macro anyway? Isn't the ability in your spellbook?
squishy
Posts: 305
Joined: Fri Dec 08, 2006 11:46 pm
Location: Reading

Post by squishy »

sounds like a wonderful idea for those who lag :p

also might be button 0 and button 1, I'm not too up with the WoW API language, but most other things I know of in WoW start at 0 [e.g. backpack]

Edit; Juan, I think the idea is so that he can mash stealth/unstealth with different buttons - so that when you mash one, it doesn't stealth, unstealth, stealth, unstealth, etc - it just goes stealth, nothing, nothing, nothing. Whereas button 2 would unstealth, nothing, nothing, nothing
Image
Image
ash
Msg 512, Level 16, State 1, Line 1 Subquery returned more than 1 value.
Posts: 7146
Joined: Tue Jan 31, 2006 9:40 am
Location: Blades Edge Arena

Post by ash »

as squishy said

we need a macro to stealth without unstealthing because sometimes its needed to stealth ASAP.

clicking the stealth button twice on the interface causes you stealth and then unstealth...which is a pain.
Dreams of being better
Heeuge
Posts: 2271
Joined: Mon Jan 30, 2006 10:26 pm
Location: Location: Location.
Contact:

Post by Heeuge »

woo, works a beauty. Cheers for clearing it up Ian \o/
Juan
Posts: 1743
Joined: Fri Aug 25, 2006 2:25 am

Post by Juan »

ash wrote:we need a macro to stealth without unstealthing


What?
Vincenoir
Priest and Warlock Class Leader
Posts: 1209
Joined: Mon Jan 30, 2006 10:43 pm

Post by Vincenoir »

Juan wrote:
ash wrote:we need a macro to stealth without unstealthing


What?


You've never paniced and accidently unstealthed right after stealthing? It's a guaranteed death sentance! Definately useful for laggy situations, not that they're fun to play in :)
cronulus
Posts: 939
Joined: Tue Jan 09, 2007 5:43 pm

Post by cronulus »

ash wrote:as squishy said

we need a macro to stealth without unstealthing because sometimes its needed to stealth ASAP.

clicking the stealth button twice on the interface causes you stealth and then unstealth...which is a pain.


You do have 1.5 seconds from global cooldown... Right? Or am I wrong? Got so much more things to learn as rogue! Love it!
Ben (Crozen - Froz - Cron - Croz - Gaaru - Madred)
ash
Msg 512, Level 16, State 1, Line 1 Subquery returned more than 1 value.
Posts: 7146
Joined: Tue Jan 31, 2006 9:40 am
Location: Blades Edge Arena

Post by ash »

Vincenoir wrote: accidently unstealthed right after stealthing? It's a guaranteed death sentance! Definately useful for laggy situations, not that they're fun to play in :)


I'm fairly sure you're joking but just in case read this post cron :p

I'm sure I do have much to learn about rogues, just as I have much to learn about warriors :p
Dreams of being better
Vincenoir
Priest and Warlock Class Leader
Posts: 1209
Joined: Mon Jan 30, 2006 10:43 pm

Post by Vincenoir »

*clicks stealth button* (still unbinded xD)

Nothing

*clicks again*

Stealth/unstealth, activate 5-10second stealth cooldown.

Lag ftl!
ash
Msg 512, Level 16, State 1, Line 1 Subquery returned more than 1 value.
Posts: 7146
Joined: Tue Jan 31, 2006 9:40 am
Location: Blades Edge Arena

Post by ash »

btw my post was directed at cron not you vince, which is confusing considering I quoted you o_O
Dreams of being better
Vincenoir
Priest and Warlock Class Leader
Posts: 1209
Joined: Mon Jan 30, 2006 10:43 pm

Post by Vincenoir »

ash wrote:btw my post was directed at cron not you vince, which is confusing considering I quoted you o_O


Yeah i realised was just giving an example :)
Post Reply