Jump to content

Recommended Posts

u.Type != WoWObjectType.Player

Keep in mind, this won't actually do anything, players aren't listed in GetUnitAttackPlayer (as far as I know). So just iterate all players and filter for hostile players that are targeting you

Link to comment
https://wrobot.eu/forums/topic/10009-player-attack-player/#findComment-46938
Share on other sites

2 hours ago, Matenia said:

u.Type != WoWObjectType.Player

Keep in mind, this won't actually do anything, players aren't listed in GetUnitAttackPlayer (as far as I know). So just iterate all players and filter for hostile players that are targeting you 

Thank you). But mb  at the bot have another command for "GetAnotherPlayerAttackPlayer"?

Link to comment
https://wrobot.eu/forums/topic/10009-player-attack-player/#findComment-46940
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...