How do I make the blue sprite (using the turret behavior) attack itself only if it is on a different team using instance variables?
Example:
If a sprite sees another of the same type but with the instance variable set to team 1, it won’t attack. However, if the other sprite is on team 2, it will attack the copy of itself.
I'm having a lot of trouble with this, could you send me a CAPX about it? 😰