- Joined
- Dec 14, 2006
- RedCents
- 692¢
I have searched both MQ2 and this site for help without success.
I have a little hunting macro that targets a mob, attempts to pull it by range attack first and then pulls it to the group. If the mob is behind a boulder, slightly over a rise, or behind a tree ${Target.LineOfSight} echos True with this line:
But my chat window says "You can't hit them from here.", "You cannot see your target.", or "Your target is too far away." My ranger just sits there and still attempts to fire away because it won't turn to False. I have seen it turn to False on some occasions but it is not consistent.
So, since I can't use LOS, I have attempted to use events:
They are being called from here:
The Delay for SeeTarget and TooFar echos, but no movement.
If anyone has any suggestions for either issue, LOS or the Events, I would greatly appreciate it.
The RandMove is a 10-50 point random addition to the X and Y to prevent exact LOC movement.
I have a little hunting macro that targets a mob, attempts to pull it by range attack first and then pulls it to the group. If the mob is behind a boulder, slightly over a rise, or behind a tree ${Target.LineOfSight} echos True with this line:
Rich (BB code):
/echo LOS=${Target.LineOfSight}
So, since I can't use LOS, I have attempted to use events:
Rich (BB code):
#Event SeeTarget "#*#cannot see#*#"
#Event TooFar "#*#too far away#*#"
Rich (BB code):
| SUB: Event TooFar
|Move to Mob (with random adjustment)
/echo The target is too far away.
/call RandomMove
/varcalc MoveToX ${Target.X}+${RandMove}
/call RandomMove
/varcalc MoveToY ${Target.Y}+${RandMove}
/call MoveToLoc
/return
| SUB: Event SeeTarget
|Move to Mob (with random adjustment)
/echo I cannot see the target.
/call RandomMove
/varcalc MoveToX ${Target.X}+${RandMove}
/call RandomMove
/varcalc MoveToY ${Target.Y}+${RandMove}
/call MoveToLoc
/return
They are being called from here:
Rich (BB code):
| SUB: Line of Sight Check
Sub LOS
:LOSight
/face fast
| Move towards target if not Line of Sight
/echo LOS=${Target.LineOfSight}
/IF (!${Target.LineOfSight}) {
/keypress forward hold
/delay 30 ${Target.Distance}<${RV_Range}
/keypress forward
/ranged
/delay 5s
/doevents SeeTarget
/doevents TooFar
/goto :LOSight
}
/IF (${Target.LineOfSight}) {
/ranged
/echo Delay for SeeTarget and TooFar
/delay 5s
/doevents SeeTarget
/doevents TooFar
}
/return
The Delay for SeeTarget and TooFar echos, but no movement.
If anyone has any suggestions for either issue, LOS or the Events, I would greatly appreciate it.
The RandMove is a 10-50 point random addition to the X and Y to prevent exact LOC movement.
Last edited:

