What variables can I use to check the distance of my current target ( mob) and whether or not I am in combat?
Thanks!
Mob Distance and Combat Flag
Re: Mob Distance and Combat Flag
the is a distance function, it takes your x,z coordinates and targets,x,z coordinates. So use player.X,player.Z target.X, target.ZS3v3n11 wrote:What variables can I use to check the distance of my current target ( mob) and whether or not I am in combat?
Thanks!
playet.Battling should be the "in Combat" flag
Thanks for reading!
Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates
Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates
Who is online
Users browsing this forum: No registered users and 0 guests