Client Hate List
To get a count of mobs that a player has aggro on, is there a function currently? I could cycle through mobs in the zone but that seems CPU intensive. There is this
$client->GetAggroCount() But is is not working for me so far. |
Well that function does work for me, all it does is return the amount of mobs on the client's hate list.
Code:
int Client::GetAggroCount() { Code:
sub EVENT_SAY { |
Quote:
I saw that in the documentation. I wonder if the function is only available in that event though? I tried to access the function in the event EVENT_AGGRO |
That's because EVENT_AGGRO isn't for clients.
Code:
sub EVENT_AGGRO # Triggered when a mob aggros a client. |
All times are GMT -4. The time now is 12:54 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.