IamBigDaddy
Member
- Joined
- Oct 14, 2005
- RedCents
- 80¢
Am I using {Target.LineOfSight} properly here? What I am trying to do is target a different mob if I can not see the one I have targetted.
Rich (BB code):
:loopstart
/call GMcheck
/echo waiting
/call MoveToLoc 2113 335
/delay 20s
:selecttarget
/if (${Target.ID}==FALSE) /tar NPC radius 195
/delay 10
/if (${Target.LineOfSight}==FALSE) /goto :loopstart
/delay 10
/echo checking
/if (${Target.ID}==FALSE) /goto :selecttarget
:havetarget
/if (${Target.ID}==FALSE) /goto :loopstart
/if (${Me.AltAbilityTimer[Fortified Bellowing]} == 0) {
/delay 5s
/aa act Fortified Bellowing
}
/delay 10
/if (${Target.ID}==FALSE) /goto :loopstart
/if (${Me.AltAbilityTimer[Cacophony]} == 0) {
/delay 5s
/aa act Cacophony
}
/if (${Target.Type.Equal[NPC]}) /goto :havetarget
/goto :loopstart
/return