makes sense, i apreciate you take the time
this code is an alternative to work with 2 units, target and focus, I like it. but, is there any way to work with more than 2 units at once?
like anyway to loop thru all units around localplayer and store them into friend and enemy list using similar method?
loop each one, focus each one and check?
something like localplayer range 40, each tick, focus all them quick and determine who is friend and who is enemy?