What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

getAggroMobs() not taking mount into consideration?

Poopiedoopie

New Member
Joined
Sep 24, 2014
Messages
117
Reaction score
3
getAggroMobs(); does not show any mobs when my mount is being targeted is this hidden in another method ?
 
links on the irc topic

and the usage is getAggroMobs([find your mount here, or variable for your already found mount)
 
getAggroMobs() - mobs that aggro for your char.
getAggroMobs(getMount()) - mobs that aggro for your mount
 
so getAggroMobs() and getAggroMobs(me) are the same thing ... i had been using them wrong then ...
 
Hi. I recheck this and its impossible to get aggromobs from mounts. Server dont send this info for mounts :(
So, we can know that mob attack mount, only with something like:
- Subscribe on onUnitDamaged event
- Check here, is our mount attacked, if yes - call SetVar(), and mark this mob (for example SetVar("AttackOurMount",DateTime.Now))
- In function where we find best mob - check AttackOurMount, and if it was in the last 5-15 seconds - kill this mob
 
Last edited:
can we still get the target that attacks out mount?
You can get mobs that target your mount. But not always mobs that target your mount - attack him.
 
You can get mobs that target your mount. But not always mobs that target your mount - attack him.

Thanks found out a way to fix it for not. Not the cleanest method but it works
 
Back
Top