Question regarding Macro for changing costume.


MaXimillion_Zero

 

Posted

Ello Ello.

I've been trying to make a macro that does the following.

Change my costume and activate a power (fly in this case)

I've tried the following : /macro fly "costume_change 2 $$ powexec_name fly"

It will activate Fly fine, and toggle it if I press it again, but it refused to change the costume. Any ideas as to why?


 

Posted

'evening all

Try changing the "costume_change" for "cc" - "cc" will definitely work, not sure about the long version. Also, remember that the costume slots start at 0, so 2 = the 3rd slot (which may or may not be what you're after).


 

Posted

Aye, I've checked the number and I do want slot number 3 to be the costume that gets put on.


 

Posted

And presumably, even with the "cc", it still isn't working?

Random things to try, in that case:

1) Remove the spaces either side of the "$$"

2) Try the "cc" in isolation as its own macro, just to double-check that's valid in itself.


 

Posted

I don't think there should be a space between cc and 2. Try: /macro fly "cc2$$powexec_name fly"


 

Posted

/cc 2 works on it's own, I'll try Max's suggestion.


 

Posted

Bingo, thanks Max Your version works.