kombat Spammer Joined Feb 25, 2007 Messages 66 Reaction score 0 Points 0 Sep 17, 2009 #1 looking for a line to ad to my combat sub, for when my tank/puller gets to far from camp/loc he will /target clear. so something like ..if me distance is over 99 /target clear thanks! in adv .
looking for a line to ad to my combat sub, for when my tank/puller gets to far from camp/loc he will /target clear. so something like ..if me distance is over 99 /target clear thanks! in adv .
U unity0110 Lifetimer Joined Mar 23, 2007 Messages 594 Reaction score 0 Points 0 Sep 25, 2009 #2 Save the camp location (Something like this) Code: /declare Anchor[2] float outer /varset Camp[1] ${Me.Y} /varset Camp[2] ${Me.X} Then do distance checks to that loc Code: /if (${Math.Distance[${Camp[1]}, ${Camp[2]}]} > 99) /squelch /target clear
Save the camp location (Something like this) Code: /declare Anchor[2] float outer /varset Camp[1] ${Me.Y} /varset Camp[2] ${Me.X} Then do distance checks to that loc Code: /if (${Math.Distance[${Camp[1]}, ${Camp[2]}]} > 99) /squelch /target clear
T thez Rhymes well with Pez Joined Oct 25, 2006 Messages 966 Reaction score 0 Points 0 Location Santa Cruz Sep 27, 2009 #3 Doesn't MQ2MoveUtils or MQ2Melee have an anchor feature?
kombat Spammer Joined Feb 25, 2007 Messages 66 Reaction score 0 Points 0 Oct 17, 2009 #4 thanks unity0110 ill give that a try.
kombat Spammer Joined Feb 25, 2007 Messages 66 Reaction score 0 Points 0 Dec 17, 2009 #5 tryed this today finally but was not able to get it to work , it just cleared the target over and over, thanks tho for the idea.
tryed this today finally but was not able to get it to work , it just cleared the target over and over, thanks tho for the idea.
JimJohnson Forum Jackass Joined Jul 12, 2006 Messages 8,528 Reaction score 11 Points 38 Dec 17, 2009 #6 Code: /declare Anchor[2] float outer /varset Anchor[1] ${Me.Y} /varset Anchor[2] ${Me.X} /if (${Math.Distance[${Anchor[1]}, ${Anchor[2]}]} > 99) /squelch /target clear try it like that
Code: /declare Anchor[2] float outer /varset Anchor[1] ${Me.Y} /varset Anchor[2] ${Me.X} /if (${Math.Distance[${Anchor[1]}, ${Anchor[2]}]} > 99) /squelch /target clear try it like that
kombat Spammer Joined Feb 25, 2007 Messages 66 Reaction score 0 Points 0 Dec 17, 2009 #7 fuk yeah well fuk me it works now , thanks JJ /salute