1. Hi There,

    One thing I would like todo is figure out a way to detect and list the monsters around me within a certain range?  would like it to ignore friendly targets and just focus on unfriendly, so I can get a list of mobs within 40yds or so.

    Is this possible?

    Thx

    Bagwaa

     

  2. You can't detect anythign like this, as it would enable botting.  The best thing you can do is manually use the tab key to cycle between your targets.  This is done using the TargetNearestEnemy function, which is protected and only available to Blizzard code for obvious reasons.

    It would help if you could tell us what you were trying to accomplish, rather than how you specifically want to implement something, because I can't see a good reason to need to do this that doesn't involve some sort of botting or automated gameplay.

  3. How would it involve botting to show all nearby enemies for easy targetting for example dotting up many targets or whatnot?

    Its just a sensor to show them in a little grid or something, thats all.

    ~Stayven

  4. How would it involve botting to show all nearby enemies for easy targetting for example dotting up many targets or whatnot?

    Its just a sensor to show them in a little grid or something, thats all.

    It wouldn't, but that's why I asked.  What you want to do isn't possible as I stated in the initial response.  In order to know an enemy exists, you would need one of the following:

    • A combat log event that includes the mob
    • Target the unit directly using tab/mouse
    • Have a party or raid member target the mob

    Only then would you be able to display the unit as long as it continues to hold those conditions.  If you detarget the mob, there is no way to guarantee that you will target that unit again, except using /targetlasttarget.  You can't "store" a mob to target it later.  If you're looking for a mod that can show you all of the enemy "actors" in a given combat, you may want to look at PerfectTargets, an addon that is currently maintained by Thrae.  It essentially scans your raid/party to get their targets, and lets you see as many mobs for as long as they persist.

    Let me know if that doesn't make any sense.

  5. How would it involve botting to show all nearby enemies for easy targetting for example dotting up many targets or whatnot?

    He wasn't saying that what you want is a form of botting. I think his point was that having the UI aware of such information makes it easier for botters to do what they do (something that Blizzard obviously doesn't want). Think of it along the lines of having the fishing bobber always appear at the same place on the screen. All a bot writer would have to do is "listen" for the splash and send a mouse click. Having a targetable list of nearby enemies would enable the same sort of mechanic on a larger scale and with more detremental results.

    Short version: because the systems necessary to do what you want would enable other undesirable behavior, what you want is impossible.

  6. For example: a tanking addon for multi dotting, shows all units near you and has a colour changing background depending on time left of your dot(s) mabye (just an idea) so you can easily see when to refresh.

    also usable for other things but its not to be used for botting - what im saying is can it be done? and if so, how would i go about doing it?

    ~Stayven

  7. For example: a tanking addon for multi dotting, shows all units near you and has a colour changing background depending on time left of your dot(s) mabye (just an idea) so you can easily see when to refresh.

    also usable for other things but its not to be used for botting - what im saying is can it be done? and if so, how would i go about doing it?

    Yes, I understand exactly what you want done, and I've already told you multiple times that it cannot be done.  Please read my last post again.