August 28, 20187 yr Hello, How to check what other player attack me? I need command like it "ObjectManager.GetUnitAttackPlayer().Count(u => u.GetDistance < 30 && u.OtherPlayer (Idk how right to write) ) > 0".
August 29, 20187 yr 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
August 29, 20187 yr Author 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"?
August 29, 20187 yr 2 hours ago, 79135 said: Thank you). But mb at the bot have another command for "GetAnotherPlayerAttackPlayer"? No
Create an account or sign in to comment