I am having trouble with this Edited version of SEKite.mac http://macroquest2.com/phpBB2/viewtopic ... ght=sekite
When I run the mac I will run to camp loc and cast , then I will run to destination A then /face fast it over and over while running so it looks like im turning around over and over, What I would like to do is run to Camp loc , point A , B , C , D cyclling threw.
Here is the Code
Code: Select all
#turbo 90
Sub Main
/declare CampAnc global
/declare KiteAnchorA global
/declare KiteAnchorB global
/declare KiteAnchorC global
/declare KiteAnchorD global
||||||||||BEGIN ANCHOR LOCATIONS||||||||||
/varset CampAnc -619.32,-2607.21
/varset KiteAnchorA -606.15,-2963.18
/varset KiteAnchorB -485.28,-2963.18
/varset KiteAnchorC -434.74,-2958.32
/varset KiteAnchorD -619.32,-2607.21
|||||||||||END ANCHOR LOCATIONS|||||||||||
/call KiteTheMob
/endmacro
Sub KiteTheMob
/echo Kiting $target(name).
/press Num_Lock
/goto :CampAnchor
:CampAnchor
/if $target(name)==NULL /call MobDead
/if n $distance(@CampAnc)<=10 {
/press Num_Lock
/goto :CastSnare
}
/face fast loc @CampAnchor
/goto :CampAnchor
:CastSnare
/if $target(name)==NULL /call MobDead
/delay 1s
/cast "Ensnare"
/delay 1s
/cast "Ensnare"
/delay 1s
/cast "Ensnare"
/delay 1s
/cast "Ensnare"
/doevents
/delay 3s
/press Num_Lock
/goto :AnchorA
:AnchorA
/if $target(name)==NULL /call MobDead
/if n $distance(@KiteAnchorA)<=10 {
/press Num_Lock
/goto :CastDot1
}
/face fast loc @KiteAnchorB
/goto :AnchorB
:AnchorB
/if $target(name)==NULL /call MobDead
/if n $distance(@KiteAnchorB)<=10 {
/press Num_Lock
/goto :CastDot2
}
/face fast loc @KiteAnchorC
/goto :AnchorB
:AnchorC
/if $target(name)==NULL /call MobDead
/if n $distance(@KiteAnchorC)<=10 {
/press Num_Lock
/goto :CastDot3
}
/face fast loc @KiteAnchorD
/goto :AnchorC
:AnchorD
/if $target(name)==NULL /call MobDead
/if n $distance(@KiteAnchorC)<=10 {
/press Num_Lock
/goto :CastDot4
}
/face fast loc @KiteAnchorC
/goto :AnchorD
:CastDot1
/if $target(name)==NULL /call MobDead
/delay 1s
/cast "Swarming Death"
/delay 1s
/cast "Swarming Death"
/delay 1s
/cast "Swarming Death"
/delay 1s
/cast "Swarming Death"
/doevents
/delay 3s
/press Num_Lock
/goto :TurnAnchorA
:CastDot2
/if $target(name)==NULL /call MobDead
/delay 1s
/cast "Immolation of Ro"
/delay 1s
/cast "Immolation of Ro"
/delay 1s
/cast "Immolation of Ro"
/delay 1s
/cast "Immolation of Ro"
/doevents
/delay 3s
/press Num_Lock
/goto :TurnAnchorB
:CastDot3
/if $target(name)==NULL /call MobDead
/delay 1s
/cast "Winged Death"
/delay 1s
/cast "Winged Death"
/delay 1s
/cast "Winged Death"
/delay 1s
/cast "Winged Death"
/doevents
/delay 3s
/press Num_Lock
/goto :TurnAnchorC
:CastDot4
/if $target(name)==NULL /call MobDead
/delay 1s
/cast "Drones of Doom"
/delay 1s
/cast "Drones of Doom"
/delay 1s
/cast "Drones of Doom"
/delay 1s
/cast "Drones of Doom"
/doevents
/delay 3s
/press Num_Lock
/goto :TurnAnchorB
:TurnAnchorA
/if $target(name)==NULL /call MobDead
/if n $distance(@KiteAnchorB)<=10 {
/goto :CastDot1
}
/face fast loc @KiteAnchorB
/goto :TurnAnchorA
:TurnAnchorB
/if $target(name)==NULL /call MobDead
/if n $distance(@KiteAnchorD)<=10 {
/goto :CastDot2
}
/face fast loc @KiteAnchorD
/goto :TurnAnchorB
/return
:TurnAnchorC
/if $target(name)==NULL /call MobDead
/if n $distance(@KiteAnchorC)<=10 {
/goto :CastDot3
}
/face fast loc @KiteAnchorC
/goto :TurnAnchorC
:TurnAnchorD
/if $target(name)==NULL /call MobDead
/if n $distance(@KiteAnchorD)<=10 {
/goto :CastDot4
}
/face fast loc @KiteAnchorD
/goto :TurnAnchorD
Sub MobDead
/press up down
/goto :RestartAnchor
:RestartAnchor
/if n $distance(@CampAnc)<=10 {
/press up down
/sit
/endmacro
}
/face fast loc @CampAnc
/press up up
/goto :RestartAnchor
/return
LordRed


