February 23, 20188 yr So i saw in Fighter Class configuration that you can add a condition of other enemies around in "X" Yards. What´s the LUA CODE of this condition? Thanks.
February 23, 20188 yr You can't do this in Lua. The client's Lua API doesn't have access to the game's ObjectManager. You need to use C#
February 23, 20188 yr Author I dont knhow how to use C# but i will figure it out. What´s the code using C#?
February 23, 20188 yr ObjectManager.GetWoWUnitHostile().Count(o => o.IsValid && o.IsAlive && o.Guid != ObjectManager.Target.Guid && o.Position.DistanceTo(ObjectManager.Target.Position) <= 15) >= 3 Edited February 23, 20188 yr by Matenia
Create an account or sign in to comment