How do I have a turret target based on variables

Get help using Construct 2

Post » Fri Jun 06, 2014 8:52 pm

In my game there are two teams using the same base units, so I created one of each unit type and put them all in a single family. To differentiate between teams, I simply have an instance variable called "Team". I am now setting up the turrets and added the family as a target. This results in the turret attacking all family members. Is there a way to limit this to just family members who have a value in the instance variable "Team" that differs from the turret's?
B
11
S
2
G
1
Posts: 79
Reputation: 842

Post » Sat Jun 07, 2014 3:59 pm

So no way to use variables to limit which objects in a family are being targeted by a turret?
B
11
S
2
G
1
Posts: 79
Reputation: 842


Return to How do I....?

Who is online

Users browsing this forum: work3 and 5 guests