I am trying to use linking in order to delete both flashlights on an enemy when a player collides with the enemy’s flashlight (there is a “flashlight” on both sides of the enemy). However, when the player collides with one of the flashlights it only deletes one of the flashlights.
Since the lights are linked to the patrol, you need pick the patrol linked to the light and then the lights linked to the patrol. It’s picking the patrol twice and it’s not picking the other light.
Since you don’t know which light might get collided with then it might be easier if the lights were in a group.
I used the mouse to test the concept.
I prefer to use linking as a condition. I like the way it balances the number of conditions vs actions. Most of the time, it doesn’t matter which side they’re on.
My ultimate guide to linking
This one is for creating HP bars for enemies no matter if they already existed or were just created
While also deleting bars after they die and creating some death effect (with particles emitter) before that
This 100% helped. I put your code in (but without the pick all) and it worked great. Thanks.