Discordance macro uosteam

Don't know how something works? Here you will find some useful links. And if you have a question, feel free to ask.
Locked
gheddy78
Journeyman Scribe
Reactions:
Posts: 28
Joined: Fri Oct 24, 2014 1:18 am

Discordance macro uosteam

Post by gheddy78 »

Hi all, i'm trying a macro that target nearest enemy and disco it untill i succed... Here's the macro, but i cannot make it work, maybe someone will help me:

Getenemy 'murderer' 'Enemy' 'criminal' 'gray' 'closest'
if @findobject 'enemy'
autotargetobject! 'enemy'
useskill 'Discordance'
@target 'enemy'
clearjournal
if @injournal 'You attempt to disrupt'
playmacro 'Disco'
endif
endif
@clearusequeue
@cancelautotarget

The macro is called Disco so it should replay itself, but it does not work
Ty and see you :D
Azmael
User avatar
fixxer1963
Legendary Scribe
Reactions:
Posts: 271
Joined: Tue Apr 01, 2014 5:43 pm

Re: Discordance macro uosteam

Post by fixxer1963 »

I cleaned it up a bit and tested it. There are a couple more changes I would make personally, but this works. Be sure to "Loop" it.

clearjournal
Getenemy 'murderer' 'Enemy' 'criminal' 'gray' 'closest'
if @findobject 'enemy'
useskill 'Discordance'
target! 'enemy'
pause 2000
while @injournal 'You attempt to disrupt'
useskill 'Discordance'
target! 'enemy'
pause 2000
endwhile
endif
Hawke Armstrong/FiXXer
gheddy78
Journeyman Scribe
Reactions:
Posts: 28
Joined: Fri Oct 24, 2014 1:18 am

Re: Discordance macro uosteam

Post by gheddy78 »

Ty very much :D
Azmael
Locked