I have an enemy that moves in a group. This enemy shoots if distance of player is under certain amount. However just "if distance < x" does not seem to work. It just pics one of the enemy and if it has TRUE on that condition, it fires (or all enemies fire if the One is in the range). I could do fast loop or for each to individualize enemies and run distance check for each of them. However it seems that adding condition "if fixed value (of enemy) = fixed value (of enemy)" [in another words checking if object is object or x==x]. Should it work like that? Is this valid way of individualising an instance of enemy object?